Skip to content

Commit

Permalink
Fixing Code Coverage Reporting (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 authored Oct 14, 2024
1 parent 397a6fb commit fefd2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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/... ./...
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
Expand Down

0 comments on commit fefd2a7

Please sign in to comment.