From a375242040fdc8ba520ea42b355faef123b3b862 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Wed, 13 Nov 2024 08:30:37 +0000 Subject: [PATCH] re-enable codecov (#48) --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d00c718..2ffeba4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,15 +70,15 @@ jobs: - id: cache-rust uses: Swatinem/rust-cache@v2 - - run: cargo test --all-features -# - uses: taiki-e/install-action@cargo-llvm-cov -# -# - run: cargo llvm-cov --all-features --codecov --output-path codecov.json -# -# - uses: codecov/codecov-action@v3 -# with: -# files: codecov.json -# env_vars: RUST_VERSION + - uses: taiki-e/install-action@cargo-llvm-cov + + - run: cargo llvm-cov --all-features --codecov --output-path codecov.json + + - uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: codecov.json + env_vars: RUST_VERSION # https://github.com/marketplace/actions/alls-green#why used for branch protection checks check: