From a90ecef616857cbf1902fe08ce369d0a36dd07b4 Mon Sep 17 00:00:00 2001 From: "Peter M. Stahl" Date: Mon, 19 Feb 2024 23:07:19 +0100 Subject: [PATCH] Fix codecov report upload --- .github/workflows/rust-build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index a9d099e..ce5a225 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -136,9 +136,13 @@ jobs: uses: actions/checkout@v4 - name: Generate coverage report - run: cargo +nightly tarpaulin --lib --ignore-config --ignore-panics --ignore-tests --exclude-files src/python.rs src/main.rs src/wasm.rs --verbose --timeout 900 --out xml + run: cargo +nightly tarpaulin --ignore-config --ignore-panics --ignore-tests --exclude-files src/python.rs src/main.rs src/wasm.rs --verbose --timeout 900 --out xml + + - name: Workaround for codecov/feedback#263 + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Upload coverage report uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true