Skip to content

Commit

Permalink
Update coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Yegorov authored Sep 28, 2023
1 parent f4074f9 commit 75e4dde
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
rustup component add llvm-tools-preview
cargo +nightly build --all-features --verbose
cargo +nightly test --verbose
- name: Collect Coverage
run: |
mkdir target/coverage
grcov \
. \
Expand All @@ -46,4 +48,7 @@ jobs:
--excl-start '^(#\[cfg\(test\)\]|#\[test\])' \
--excl-stop '^}$' \
-t html
- uses: actions-rs/[email protected]
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 75e4dde

Please sign in to comment.