Skip to content

Commit

Permalink
More workflow fixs to get code cov working
Browse files Browse the repository at this point in the history
  • Loading branch information
gsleap committed Mar 5, 2021
1 parent 55407d8 commit ac7848e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:

- name: Generate test lcov coverage into coverage/ dir
run: |
mkdir -p coverage
RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="json5format-%m.profraw" rustup run nightly cargo test --tests
rustup run nightly cargo profdata -- merge -sparse json5format-*.profraw -o json5format.profdata
rustup run nightly cargo cov -- export --format=lcov --ignore-filename-regex='(/.cargo/registry|/rustc|test.rs$)' --instr-profile=json5format.profdata \
Expand Down

0 comments on commit ac7848e

Please sign in to comment.