From 5a51b533e65c4de2e6a6ef50ce620144ab5c31b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= Date: Mon, 21 Oct 2024 21:03:33 +0100 Subject: [PATCH] test: try direct coverage upload Try to use tarpaulin direct coverage upload. See if it works, or if it works better even. --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b6e5bc..d5c5181 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,11 +219,8 @@ jobs: - run: cargo install --locked cargo-tarpaulin - name: Generate code coverage uses: actions-rs/cargo@v1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: command: tarpaulin - args: --locked --all-features --run-types AllTargets --workspace --timeout 120 --out Lcov --exclude-files '**/benches/*' - - name: Upload coverage to Coveralls - uses: coverallsapp/github-action@v1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: lcov.info + args: --locked --all-features --run-types AllTargets --workspace --timeout 120 --coveralls "$env:CODECOV_TOKEN"