diff options
| -rw-r--r-- | azure-pipelines.yml | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c92594..8917306 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -89,6 +89,15 @@ jobs:    - job: build      displayName: 'Build' +    condition: > +      and( +        succeeded(), +        or( +          ne(variables['Build.Reason'], 'PullRequest'), +          eq(coalesce(dependencies.test.outputs['check.BASE_CHANGED'], True), True), +          eq(coalesce(dependencies.test.outputs['check.VENV_CHANGED'], True), True) +        ) +      )      dependsOn: test      variables: | 
