From 4ca731ceacd59e82355accc0cec09d192296959c Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sat, 13 Apr 2024 16:03:23 -0700 Subject: [PATCH] Update codecov CI job to fix it --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be07142..319eb85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -225,10 +225,11 @@ jobs: RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - id: coverage uses: actions-rs/grcov@v0.1 - - uses: codecov/codecov-action@v1 + - run: cp ${{ steps.coverage.outputs.report }} /tmp/codecov + - run: cat /tmp/codecov + - uses: codecov/codecov-action@v4 with: - #token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos - files: ${{ steps.coverage.outputs.report }} + token: ${{ secrets.CODECOV_TOKEN }} + files: /tmp/codecov fail_ci_if_error: true verbose: true -