Skip to content

Commit

Permalink
Update actions/coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
agievich committed May 10, 2024
1 parent 4067cd3 commit a580ef4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:
working-directory: ${{github.workspace}}/build
run: |
export LLVM_PROFILE_FILE=./gf2.profraw
test/testgf2
test/testgf2
llvm-profdata merge -sparse gf2.profraw -o gf2.profdata
llvm-cov show ./test/testgf2 -instr-profile=gf2.profdata > coverage.txt
- name: Upload coverage reports to Codecov
- name: Upload coverage to Codecov
working-directory: ${{github.workspace}}/build
run: |
bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v4
with:
files: coverage.txt
token: ${{secrets.CODECOV_TOKEN}}
fail_ci_if_error: true
verbose: true

0 comments on commit a580ef4

Please sign in to comment.