Skip to content

Commit

Permalink
ci: update coverage workflow with tarpaulin image
Browse files Browse the repository at this point in the history
  • Loading branch information
DiscreteTom committed Dec 29, 2024
1 parent 4e57d22 commit e0c48d9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on: workflow_dispatch
jobs:
coverage:
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions-rust-lang/setup-rust-toolchain@v1

- run: cargo install cargo-tarpaulin

- run: cargo tarpaulin --out Xml
- name: Generate code coverage
run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
Expand Down

0 comments on commit e0c48d9

Please sign in to comment.