diff options
author | Tim Oram <dev@mitmaro.ca> | 2023-07-15 11:27:19 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2023-07-15 11:35:02 -0230 |
commit | 5030aabf3e597f5adfd569ebb5c83dfb900a5106 (patch) | |
tree | b49baa1719249f2ca60ffd4d500324eff7271903 | |
parent | 6f10b2b5e1e7793f84de54c9609e203df664865c (diff) |
Fix coverage in GitHub actions
-rw-r--r-- | .github/workflows/master-coverage.yml | 10 | ||||
-rw-r--r-- | .github/workflows/pull-request.yml | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/master-coverage.yml b/.github/workflows/master-coverage.yml index 6f94d10..763391e 100644 --- a/.github/workflows/master-coverage.yml +++ b/.github/workflows/master-coverage.yml @@ -15,12 +15,12 @@ jobs: with: toolchain: nightly - uses: Swatinem/rust-cache@v2 - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 + - uses: baptiste0928/cargo-install@v2 with: - timeout: 10 - out-type: Lcov - args: '--workspace --all-features --ignore-tests --line --output-dir coverage' + crate: cargo-tarpaulin + - name: Run cargo-tarpaulin + run: | + cargo +nightly tarpaulin --workspace --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov - name: Post to Coveralls uses: coverallsapp/github-action@master with: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 1230720..21a0d0a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -67,12 +67,12 @@ jobs: with: toolchain: nightly - uses: Swatinem/rust-cache@v2 - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 + - uses: baptiste0928/cargo-install@v2 with: - timeout: 10 - out-type: Lcov - args: '--workspace --all-features --ignore-tests --line --output-dir coverage' + crate: cargo-tarpaulin + - name: Run cargo-tarpaulin + run: | + cargo +nightly tarpaulin --workspace --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov - name: Post to Coveralls uses: coverallsapp/github-action@master with: |