From ca1f611404751e497cb374311db8758215dae7bb Mon Sep 17 00:00:00 2001 From: Mat Wood Date: Fri, 3 Jul 2020 00:05:05 +0000 Subject: [PATCH] Using cargo-tarpaulin install directly It seems the cargo-tarpaulin action is going to be deprecated, and I believe it is not running the doctests correctly https://github.com/actions-rs/tarpaulin/issues/6 --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2edb7c3..8eb810a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -82,11 +82,11 @@ jobs: toolchain: stable override: true + - name: Install cargo-tarpaulin + run: "cargo install cargo-tarpaulin -f" + - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 - with: - timeout: 1200 - args: "--verbose --all-features --ignored --exclude-files fuzz" + run: "cargo tarpaulin --out Xml --verbose --all-features --run-types Tests,Doctests --ignored --exclude-files fuzz --timeout 1200" - name: Upload to codecov.io uses: codecov/codecov-action@v1