Skip to content

Commit

Permalink
Fix to run all the tests for the scheduled builds, as intended (#61029)
Browse files Browse the repository at this point in the history
  • Loading branch information
radical authored Oct 30, 2021
1 parent dad40a7 commit 46a3bfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions eng/pipelines/common/xplat-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
shouldContinueOnError: ${{ and(endsWith(variables['Build.DefinitionName'], 'staging'), eq(variables['Build.Reason'], 'PullRequest')) }}

# keep in sync with /eng/pipelines/common/variables.yml
nonPRBuild: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}
dependOnEvaluatePaths: ${{ and(eq(variables['Build.Reason'], 'PullRequest'), in(variables['Build.DefinitionName'], 'runtime', 'runtime-staging', 'runtime-community')) }}

variables:
Expand All @@ -47,11 +48,11 @@ jobs:

- name: _BuildConfig
value: $(buildConfigUpper)

- name: _runSmokeTestsOnlyArg
${{ if ne(parameters.variables['isFullMatrix'], true) }}:
${{ if ne(variables['nonPRBuild'], true) }}:
value: /p:RunSmokeTestsOnly=true
${{ if eq(parameters.variables['isFullMatrix'], true) }}:
${{ if eq(variables['nonPRBuild'], true) }}:
value: ''

- ${{ if or(eq(parameters.osGroup, 'windows'), eq(parameters.hostedOs, 'windows')) }}:
Expand Down

0 comments on commit 46a3bfe

Please sign in to comment.