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 authored Jun 26, 2023
1 parent 8f5dc6c commit b81b0b3
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 b81b0b3

Please sign in to comment.