From 44864ad6479878a55ac736263e62eccbd8c02786 Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Tue, 17 Dec 2024 14:08:10 +0100 Subject: [PATCH] enable branch coverage --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d42216edc..71593f055 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -44,13 +44,13 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@nightly - name: Install cargo-nextest uses: taiki-e/install-action@nextest - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage - run: cargo llvm-cov nextest --all-features --workspace --codecov --output-path codecov.json + run: cargo llvm-cov nextest --branch --all-features --workspace --codecov --output-path codecov.json env: DATABASE_URL: "postgres://postgres:postgres@localhost/test_db" MINIO_URL: "http://127.0.0.1:9000"