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