Switch CI coverage test to use cargo-llvm-cov

This commit is contained in:
Dirkjan Ochtman
2023-03-08 13:13:24 +01:00
committed by Benjamin Saunders
parent 25a067bc88
commit 02037e72fa
+6 -7
View File
@@ -14,11 +14,10 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/tarpaulin@v0.1
- uses: codecov/codecov-action@v1.0.2
- uses: taiki-e/install-action@cargo-llvm-cov
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
- uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: cobertura.xml
files: lcov.info
fail_ci_if_error: true