Disable VMR runtests outside of PRs to unblock re-boostrap (#19683)

This commit is contained in:
Viktor Hofer 2024-05-06 20:15:16 +02:00 committed by GitHub
parent 387867f572
commit de50ce84ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -365,7 +365,8 @@ jobs:
displayName: Build
# Only run tests if enabled
- ${{ if eq(parameters.runTests, 'True') }}:
# TODO: Remove the PullRequest condition after the next re-bootstrap: https://github.com/dotnet/source-build/issues/4362
- ${{ if and(eq(parameters.runTests, 'True'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- script: |
set -ex