Skip to content

Commit

Permalink
ci: add Codecov to check test coverage (#367)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas L <[email protected]>
  • Loading branch information
phm07 and jooola authored Jan 4, 2024
1 parent efc0259 commit 769667d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- run: go test -v ./...
- run: go test -coverprofile=coverage.txt -v -race ./...

- uses: codecov/codecov-action@v3

generate:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
coverage.txt

0 comments on commit 769667d

Please sign in to comment.