From 94f2c16267122647bcb8cf054ec8708c94bd6ffd Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 25 Oct 2023 00:11:50 -0400 Subject: [PATCH] fix grcov CI workflow (#968) --- .github/workflows/grcov.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/grcov.yml b/.github/workflows/grcov.yml index a79833858..9123bf8c4 100644 --- a/.github/workflows/grcov.yml +++ b/.github/workflows/grcov.yml @@ -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: @@ -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'