From b341502c1b19b03ee181815918a0502f41a1845f Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Sun, 1 Sep 2024 19:38:19 -0700 Subject: [PATCH] ci: Disable code coverage. --- .github/workflows/rust.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4ca6d257d7f..73c99abe20a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -99,9 +99,11 @@ jobs: shell: bash run: echo "coverage=$WITH_COVERAGE" >> $GITHUB_OUTPUT env: - WITH_COVERAGE: - ${{ (github.event_name == 'pull_request' && contains(github.head_ref, 'develop-') || - github.event_name == 'push' && github.ref_name == 'master') && runner.os != 'Linux' }} + WITH_COVERAGE: false + # Disabled coverage is it doesn't work well in Linux/Windows + # WITH_COVERAGE: + # ${{ (github.event_name == 'pull_request' && contains(github.head_ref, 'develop-') || + # github.event_name == 'push' && github.ref_name == 'master') && runner.os != 'Linux' }} - name: Run tests if: ${{ steps.coverage.outputs.coverage == 'false' }} run: just test-ci