Skip to content

Commit

Permalink
Tarpaulin action
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Aug 11, 2023
1 parent a10e662 commit d8a889e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,15 @@ jobs:

- name: Run IPA bench
run: cargo bench --bench oneshot_ipa --no-default-features --features "enable-benches descriptive-gate"

codecov-tarpaulin:
name: Generate code coverage
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
# Note: closed-source code needs to provide a token,
# but open source code does not.
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
4 changes: 4 additions & 0 deletions .tarpaulin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[descriptive_gate_coverage]
no_default_features = true
features = "cli web-app in-memory-infra descriptive-gate"
release = true

0 comments on commit d8a889e

Please sign in to comment.