Skip to content

Commit

Permalink
chore: support mongo in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiningRush committed May 21, 2023
1 parent 7ff1a8f commit ee05096
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
- name: Build
run: go build -v ./...

- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.2
mongodb-username: root
mongodb-password: pwd

- name: Test
run: go test -coverprofile coverage.txt -covermode=atomic -v ./...

Expand Down

0 comments on commit ee05096

Please sign in to comment.