From 9d69484e503458478686456660a835cb9e374f34 Mon Sep 17 00:00:00 2001 From: Venus Xeon-Blonde Date: Sat, 16 Mar 2024 01:33:32 -0400 Subject: [PATCH] Update coveralls coverage CI --- .github/actions-rs/grcov.yml | 6 ------ .github/workflows/grcov.yml | 12 +++++------- 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 .github/actions-rs/grcov.yml diff --git a/.github/actions-rs/grcov.yml b/.github/actions-rs/grcov.yml deleted file mode 100644 index 97314290..00000000 --- a/.github/actions-rs/grcov.yml +++ /dev/null @@ -1,6 +0,0 @@ -branch: true -output-type: lcov -output-file: ./lcov.info -ignore-not-existing: true -ignore: - - "/*" diff --git a/.github/workflows/grcov.yml b/.github/workflows/grcov.yml index a098cbbe..e258cf08 100644 --- a/.github/workflows/grcov.yml +++ b/.github/workflows/grcov.yml @@ -1,6 +1,6 @@ on: ["push", "pull_request"] -name: Code Coverage +name: coveralls Code Coverage jobs: coverage: @@ -19,18 +19,16 @@ jobs: with: toolchain: nightly override: true - - uses: actions-rs/cargo@v1 - with: - command: test - args: --all-features --no-fail-fast + - name: Run tests + run: cargo test --verbose env: CARGO_INCREMENTAL: '0' RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - - id: coverage + - name: rust-grcov uses: actions-rs/grcov@v0.1 - name: Coveralls upload uses: coverallsapp/github-action@master with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ${{ steps.coverage.outputs.report }}