Skip to content

Commit

Permalink
ci: Disable code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Sep 2, 2024
1 parent 05576e4 commit b341502
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b341502

Please sign in to comment.