-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Migrate to
cargo-tarpaulin
container
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,16 +38,23 @@ jobs: | |
codecov: | ||
name: Code coverage | ||
runs-on: ubuntu-latest | ||
container: | ||
image: xd009642/tarpaulin:develop-nightly | ||
options: --security-opt seccomp=unconfined | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install build dependencies | ||
run: sudo apt install libpcsclite-dev | ||
- name: Install coverage dependencies | ||
run: cargo install cargo-tarpaulin | ||
- name: Generate coverage report | ||
run: cargo tarpaulin --engine llvm --all-features --release --timeout 600 --out Xml | ||
run: > | ||
cargo tarpaulin | ||
--engine llvm | ||
--release | ||
--timeout 600 | ||
--out xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected].1 | ||
uses: codecov/[email protected].5 | ||
|
||
doc-links: | ||
name: Intra-doc links | ||
|