Skip to content

Commit

Permalink
added tarpaulin for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthqs committed Nov 7, 2023
1 parent 3c84539 commit 85f15b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install Tarpaulin.
run: cargo install cargo-tarpaulin
- name: Generate code coverage report.
run:
cargo tarpaulin
--verbose
--all-features
--workspace
--timeout 120
--out Xml
--exclude-files 'src/main.rs'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down

0 comments on commit 85f15b7

Please sign in to comment.