Skip to content

Commit

Permalink
fix: upload coverage report to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbrad committed Oct 29, 2023
1 parent 51cfd63 commit a58d261
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,12 @@ jobs:
- name: Run Tests
run: |
go test -mod=mod -shuffle=on -race -timeout 300s ./...
go test -mod=mod -shuffle=on -race -timeout 300s -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage report
if: runner.os == 'macos'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
Binary file removed privatebtcdocker
Binary file not shown.

0 comments on commit a58d261

Please sign in to comment.