Skip to content

Commit

Permalink
CI: Migrate to cargo-tarpaulin container
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Jan 28, 2024
1 parent 137df75 commit 4d4e2ff
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d4e2ff

Please sign in to comment.