From 9b8e9a30448d6d9b956da1a5dcd7edaa876062ee Mon Sep 17 00:00:00 2001 From: wcampbell Date: Tue, 24 Oct 2023 22:53:27 -0400 Subject: [PATCH] ci: Add feature __test_unsquashfs to coverage tests --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f0dc92b9..d96cb633 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,12 +9,13 @@ jobs: CARGO_TERM_COLOR: always steps: - uses: actions/checkout@v4 + - run: sudo apt-get install -y squashfs-tools - name: Install Rust run: rustup update stable - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage - run: cargo llvm-cov --workspace --codecov --output-path codecov.json + run: cargo llvm-cov --workspace --codecov --output-path codecov.json --features __test_unsquashfs - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: