diff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.yml index e7aa9f1d3773..fed0de6dfc97 100644 --- a/.github/workflows/cypress-tests-runner.yml +++ b/.github/workflows/cypress-tests-runner.yml @@ -336,7 +336,7 @@ jobs: if: ${{ env.RUN_TESTS == 'true' }} uses: dtolnay/rust-toolchain@master with: - toolchain: stable 2 weeks ago + toolchain: stable 2 weeks ago, nightly-2025-01-01 components: llvm-tools-preview - name: Install sccache @@ -395,7 +395,7 @@ jobs: - name: Build project if: ${{ env.RUN_TESTS == 'true' }} env: - RUSTFLAGS: "-Cinstrument-coverage" + RUSTFLAGS: "-Cinstrument-coverage -Zcoverage-options=branch" run: just build_v2 --jobs 3 - name: Setup Local Server @@ -457,7 +457,7 @@ jobs: - name: Process coverage report if: ${{ env.RUN_TESTS == 'true' }} run: | - grcov . --source-dir . --output-types lcov --output-path ${{ env.CODECOV_FILE }} --binary-path ./target/debug --ignore "*cargo*" --ignore "target/*" --ignore "/*" + grcov . --source-dir . --output-types lcov --output-path ${{ env.CODECOV_FILE }} --branch --binary-path ./target/debug --ignore "*cargo*" --ignore "target/*" --ignore "/*" - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5