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 c5d0ae1
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 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
run: apt install libpcsclite-dev
- 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/codecov-action@v3.1.1
uses: codecov/codecov-action@v3.1.5

doc-links:
name: Intra-doc links
Expand Down

0 comments on commit c5d0ae1

Please sign in to comment.