Skip to content

Commit

Permalink
fix grcov CI workflow (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Oct 25, 2023
1 parent 24787d1 commit 94f2c16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/grcov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
toolchain: nightly
override: true

- name: Cleanup GCDA files
run: rm -rf martin/target/debug/deps/*.gcda

- name: Run tests
run: cargo test
env:
Expand All @@ -70,9 +73,11 @@ jobs:
uses: codecov/codecov-action@v3
with:
file: ${{ steps.coverage.outputs.report }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Check conditional cfg values
run: |
cargo +nightly check -Z unstable-options -Z check-cfg=features,names,values,output --workspace
cargo +nightly check -Z unstable-options -Z check-cfg --workspace
env:
RUSTFLAGS: '-D warnings'

0 comments on commit 94f2c16

Please sign in to comment.