Add path filters for azure PR jobs (#14544)
This commit is contained in:
parent
cfea2be137
commit
875db19971
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue