From 35d3c5a5d7b5cd3547e16654d034ac452bbfb4a7 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Fri, 22 Jan 2021 00:25:13 -0500 Subject: [PATCH] fix(ci): Bump actions-rs/grcov to d7fbf3f See actions-rs/grcov#51 --- .github/actions-rs/grcov.yml | 8 -------- .github/workflows/coverage.yml | 13 +++++++++++-- 2 files changed, 11 insertions(+), 10 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 970a6a99..00000000 --- a/.github/actions-rs/grcov.yml +++ /dev/null @@ -1,8 +0,0 @@ -branch: true -ignore-not-existing: true -llvm: true -output-type: lcov -ignore: - - "/*" - - "C:/*" - - "../*" diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 1fbfaa4f..07eb3cc2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -37,11 +37,20 @@ jobs: RUSTDOCFLAGS: "-Cpanic=abort" - name: Collect test coverage data - uses: actions-rs/grcov@v0.1 + uses: actions-rs/grcov@d7fbf3f id: coverage + with: + args: > + -t lcov + --llvm + --branch + --ignore-not-existing + --ignore "/*" + -o ./target/lcov.info + ./target/debug/ - name: Upload coverage data to Coveralls uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ${{ steps.coverage.outputs.report }} + path-to-lcov: ./target/lcov.info