diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml index aab9e17..194879c 100644 --- a/.github/workflows/rust-test.yml +++ b/.github/workflows/rust-test.yml @@ -28,4 +28,9 @@ jobs: CARGO_INCREMENTAL: '0' RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cllvm-args=--inline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cllvm-args=--inline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - - uses: 'actions-rs/grcov@v0.1' + - id: 'coverage' + uses: 'actions-rs/grcov@v0.1' + - uses: 'coverallsapp/github-action@master' + with: + github-token: '${{ secrets.GITHUB_TOKEN }}' + path-to-lcov: '${{ steps.coverage.outputs.report }}'