Skip to content

Commit

Permalink
ignore mock file in coverage test (#8009)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinForReal authored Jan 10, 2025
1 parent 4cde64e commit af598cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
- name: Autobuild
run: |
make all
go test -covermode=count -coverprofile=profile.cov ./pkg/...
go test -covermode=count -coverprofile=profile.cov.tmp ./pkg/...
grep -v mock profile.cov.tmp > profile.cov
- name: Coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4
Expand Down

0 comments on commit af598cc

Please sign in to comment.