Skip to content

Commit

Permalink
Fix codecov integration
Browse files Browse the repository at this point in the history
  • Loading branch information
o1egl committed Feb 11, 2025
1 parent e00f8e7 commit 2c45044
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
with:
go-version: 1.23
- uses: actions/checkout@v4
- run: go test -v -covermode=atomic -coverprofile=coverage.out ./...
- run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
coverage.txt

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/
Expand Down

0 comments on commit 2c45044

Please sign in to comment.