Skip to content

Commit

Permalink
updated coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
flexatone committed Mar 15, 2024
1 parent 239fe72 commit e4bdd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ jobs:
run: rustup install --no-self-update stable && rustup default stable

- name: Test with Coverage
run: RUSTFLAGS="-C instrument-coverage" cargo test --tests
run: RUSTFLAGS="-C instrument-coverage" cargo test

- name: Prepare Logs
run: |
llvm-profdata merge -sparse default_*.profraw -o coverage.profdata
llvm-cov report target/debug/xensieve -instr-profile=coverage.profdata
llvm-cov export -format=text target/debug/xensieve -instr-profile=coverage.profdata > coverage.txt
llvm-cov export -format=lcov target/debug/xensieve -instr-profile=coverage.profdata > coverage.txt
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit e4bdd1d

Please sign in to comment.