Add path filters for azure PR jobs (#14544)

This commit is contained in:
Carlos Mocholí 2022-09-05 19:11:12 +02:00 committed by GitHub
parent cfea2be137
commit 875db19971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 6 deletions

View File

@ -20,8 +20,16 @@ trigger:
- "examples/app_*"
pr:
- "master"
- "release/*"
branches:
include:
- "master"
- "release/*"
paths:
include:
- ".azure/app-cloud-e2e.yml"
- "requirements/app/**"
- "src/lightning_app/**"
- "examples/app_*"
# variables are automatically exported as environment variables so this will override pip's default cache dir
variables:

View File

@ -22,8 +22,18 @@ trigger:
- "tests/tests_lite/run_standalone_tests.sh" # a symlink to the one above
pr:
- "master"
- "release/*"
branches:
include:
- "master"
- "release/*"
paths:
include:
- ".azure/gpu-tests-lite.yml"
- "requirements/lite/**"
- "src/lightning_lite/**"
- "tests/tests_lite/**"
- "tests/tests_pytorch/run_standalone_tests.sh"
- "tests/tests_lite/run_standalone_tests.sh" # a symlink to the one above
jobs:
- job: testing

View File

@ -18,8 +18,17 @@ trigger:
- "tests/tests_pytorch/**"
pr:
- "master"
- "release/*"
branches:
include:
- "master"
- "release/*"
paths:
include:
- ".azure/hpu-tests.yml"
- "examples/pl_hpu/mnist_sample.py"
- "requirements/pytorch/**"
- "src/pytorch_lightning/**"
- "tests/tests_pytorch/**"
jobs:
- job: testing