diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2022-04-28 00:31:58 -0400 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2022-04-28 00:31:58 -0400 |
commit | a6933d89b30c1fd5b0d25b38fbe157baafc7ecac (patch) | |
tree | 175d90ac978389e644b21a4a3b9e053b9f7a0055 /.github | |
parent | 476a4ad91085210b069c926353359b35820d79eb (diff) |
ci: try using llvm-cov instead of tarpaulin
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coverage.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b1f6496d..af61af81 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -41,15 +41,17 @@ jobs: with: key: ${{ matrix.triple.target }} - - name: Install tarpaulin + - name: Install cargo-llvm-cov run: | - cargo install cargo-tarpaulin + rustup component add llvm-tools-preview + cargo install cargo-llvm-cov --version 0.3.0 - name: Generate code coverage run: | - cargo tarpaulin --verbose --all-features --workspace --run-types AllTargets --timeout 120 --out Xml + cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info - name: Upload to codecov.io uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # 2.1.0 with: + files: lcov.info fail_ci_if_error: true |