From aef10b1f9c8aa93d5ad63762b040fcdb2afa44e4 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 6 Oct 2025 15:27:43 +0200 Subject: [PATCH] codecov.yml install deps --- .github/workflows/codecov.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index bd711a5..f384105 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -15,28 +15,26 @@ jobs: LLVM_PROFILE_FILE: "coverage-%p-%m.profraw" steps: - # Checkout the repo - name: Checkout code uses: actions/checkout@v4 - # Install Rust toolchain (stable) - name: Set up Rust uses: dtolnay/rust-toolchain@stable with: toolchain: stable components: llvm-tools-preview - # Build and test with coverage instrumentation + - name: Install system deps + run: sudo apt-get update && sudo apt-get install -y build-essential clang lld + - name: Run tests run: | cargo build --all-features cargo test --all-features - # Install grcov - name: Install grcov run: cargo install grcov - # Generate lcov report - name: Generate coverage report run: | mkdir -p coverage @@ -50,7 +48,6 @@ jobs: --ignore "/*" \ -o coverage/tests.lcov - # Upload to Codecov - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: