Skip to content

Commit

Permalink
try different workflow for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 7, 2024
1 parent e9a4c50 commit 5cb8a08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'

- name: rust-grcov
uses: actions-rs/[email protected]
if: ${{ matrix.toolchain == 'nightly' }}
run: cargo install grcov && grcov -r rust

- name: Upload coverage reports to Codecov
if: ${{ matrix.toolchain == 'nightly' }}
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 5cb8a08

Please sign in to comment.