Skip to content

Commit

Permalink
Without -covermode=count
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Apr 11, 2024
1 parent 7609d63 commit 8918a2c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Calc coverage
run: >
go test
-coverpkg ../pkg/...
-covermode=count
-coverprofile=coverage.out
run: go test -coverpkg ../pkg/... -coverprofile=c.out
working-directory: go/test
- name: Upload coverage
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.github_token }}
file: go/test/coverage.out
file: go/test/c.out
format: golang

0 comments on commit 8918a2c

Please sign in to comment.