Skip to content

Commit

Permalink
Fixing Code Coverage Reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 committed Oct 14, 2024
1 parent 397a6fb commit f2a0da0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- name: Test
env:
ENTERPRISE_LICENSE: ${{ secrets.ENTERPRISE_LICENSE }}
run: gotestsum --junitfile report.xml --format testname -- -coverprofile=cover.out ./...
run: gotestsum --junitfile report.xml --format testname -- -coverprofile=cover.out -covermode=atomic \
-coverpkg=github.com/esnet/gdg/cli/...,github.com/esnet/gdg/cmd/...,github.com/esnet/gdg/internal/...,github.com/esnet/gdg/pkg/... -coverprofile=cover.out ./...
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
Expand Down

0 comments on commit f2a0da0

Please sign in to comment.