mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 03:35:14 +00:00
Switch CI coverage test to use cargo-llvm-cov
This commit is contained in:
committed by
Benjamin Saunders
parent
25a067bc88
commit
02037e72fa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user