Skip to content

Commit

Permalink
Add code coverage (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
macladson authored Nov 13, 2023
1 parent 6836dcc commit b40fd09
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,18 @@ jobs:
run: rustup update stable
- name: Run tests
run: cargo test --release
coverage:
name: cargo-tarpaulin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get latest version of stable Rust
run: rustup update stable
- name: Install cargo-tarpaulin
uses: taiki-e/install-action@cargo-tarpaulin
- name: Check code coverage with cargo-tarpaulin
run: cargo-tarpaulin --workspace --all-features --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true

0 comments on commit b40fd09

Please sign in to comment.