File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 test :
66 name : coverage
77 runs-on : ubuntu-latest
8- container :
9- image : xd009642/tarpaulin:latest
10- options : --security-opt seccomp=unconfined
118 steps :
129 - name : Checkout repository
1310 uses : actions/checkout@v7
@@ -26,12 +23,15 @@ jobs:
2623 key : ${{ runner.os }}-stable-coverage-build-target-${{ hashFiles('**/Cargo.lock') }}
2724 restore-keys : ${{ runner.os }}-stable-coverage-build-target-
2825
26+ - name : Install cargo-llvm-cov
27+ uses : taiki-e/install-action@cargo-llvm-cov
28+
2929 - name : Generate code coverage
30- run : |
31- cargo tarpaulin --all-features --skip-clean --workspace --timeout 120 --out xml
30+ run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
3231
3332 - name : Upload to codecov.io
3433 uses : codecov/codecov-action@v7
3534 with :
35+ files : lcov.info
3636 fail_ci_if_error : true
3737 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments