Skip to content

Commit

Permalink
Adding code coverage analysis upload. (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 authored Oct 11, 2024
1 parent de039f0 commit 397a6fb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
- name: Test
env:
ENTERPRISE_LICENSE: ${{ secrets.ENTERPRISE_LICENSE }}
run: gotestsum --junitfile report.xml --format testname
# - go test -v ./...
run: gotestsum --junitfile report.xml --format testname -- -coverprofile=cover.out ./...
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
files: cover.out
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 397a6fb

Please sign in to comment.