Skip to content

Commit

Permalink
Skip mutation tests for tagged builds
Browse files Browse the repository at this point in the history
Speed up NuGet publishing for builds for tags by skipping the mutation tests.
  • Loading branch information
martincostello committed Jun 26, 2023
1 parent 8f5dc6c commit 0b7c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
shell: pwsh
run: ./build.ps1
env:
RUN_MUTATION_TESTS: ${{ matrix.os_name == 'linux' && 'true' || 'false' }}
RUN_MUTATION_TESTS: ${{ matrix.os_name == 'linux' && !startsWith(github.ref, 'refs/tags/') && 'true' || 'false' }}

- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
name: Upload coverage to Codecov
Expand Down

0 comments on commit 0b7c16a

Please sign in to comment.