From d5781a91d37a1688e296292110a32a0ed22476e3 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Fri, 9 Jun 2023 22:13:51 -0700 Subject: [PATCH] Update coverage.yml Added tarpaulin --- .github/workflows/coverage.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 72a44fc..06045be 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -16,11 +16,14 @@ jobs: - uses: actions/checkout@v2 - name: Create Test Media run: cd tests; sh create_test_media.sh - - run: cargo install rustfilt + - name: Install rustfilt + run: cargo install rustfilt + - name: Install tapaulin + run: cargo install cargo-tarpaulin - name: Build run: cargo build --verbose - name: Run tests - run: cargo test --tests + run: cargo tarpaulin env: RUSTFLAGS: "-C instrument-coverage" - name: rust-grcov