Skip to content

Commit 7dd43f5

Browse files
committed
Workflow filters
1 parent 058d200 commit 7dd43f5

15 files changed

+52
-8
lines changed

.azure/app-cloud-e2e.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,17 @@ pr:
2727
- "release/*"
2828
paths:
2929
include:
30-
- ".azure/app-cloud-e2e.yml"
31-
- "requirements/app/**"
32-
- "src/lightning_app/**"
33-
- "tests/tests_app/**"
34-
- "examples/app_*/**" # some tests_app tests call examples files
35-
- "tests/tests_app_examples/**"
36-
- "setup.py"
37-
- ".actions/**"
30+
- ".azure/app-cloud-e2e.yml"
31+
- "requirements/app/**"
32+
- "src/lightning_app/**"
33+
- "tests/tests_app/**"
34+
- "examples/app_*/**" # some tests_app tests call examples files
35+
- "tests/tests_app_examples/**"
36+
- "setup.py"
37+
- ".actions/**"
38+
- "!requirements/app/docs.txt"
39+
- "!*.md"
40+
- "!**/*.md"
3841

3942
# variables are automatically exported as environment variables so this will override pip's default cache dir
4043
variables:

.azure/gpu-benchmark.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pr:
2323
- ".azure/gpu-benchmark.yml"
2424
- "tests/tests_pytorch/benchmarks/**"
2525
- "requirements/pytorch/**"
26+
- "!requirements/pytorch/docs.txt"
27+
- "!*.md"
28+
- "!**/*.md"
2629

2730
schedules:
2831
- cron: "0 0 * * *" # At the end of every day

.azure/gpu-tests-lite.yml

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pr:
3030
- "tests/tests_lite/**"
3131
- "setup.cfg" # includes pytest config
3232
- ".actions/**"
33+
- "!requirements/lite/docs.txt"
34+
- "!*.md"
35+
- "!**/*.md"
3336

3437
jobs:
3538
- job: testing

.azure/gpu-tests-pytorch.yml

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ pr:
3434
- "requirements/lite/**"
3535
- "src/lightning_lite/**"
3636
- ".actions/**"
37+
- "!requirements/**/docs.txt"
38+
- "!*.md"
39+
- "!**/*.md"
3740

3841
jobs:
3942
- job: testing

.azure/hpu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ pr:
2626
- "tests/tests_pytorch/**"
2727
- "setup.cfg" # includes pytest config
2828
- ".actions/**"
29+
- "!requirements/**/docs.txt"
30+
- "!*.md"
31+
- "!**/*.md"
2932

3033
jobs:
3134
- job: testing

.azure/ipu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pr:
2323
- "tests/tests_pytorch/**"
2424
- "setup.cfg" # includes pytest config
2525
- ".actions/**"
26+
- "!requirements/**/docs.txt"
27+
- "!*.md"
28+
- "!**/*.md"
2629

2730
variables:
2831
- name: poplar_sdk

.github/workflows/ci-app-examples.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- "requirements/app/**"
1616
- "setup.py"
1717
- ".actions/**"
18+
- "!requirements/app/docs.txt"
19+
- "!*.md"
20+
- "!**/*.md"
1821

1922
concurrency:
2023
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-app-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- "requirements/app/**"
1616
- "setup.py"
1717
- ".actions/**"
18+
- "!requirements/app/docs.txt"
19+
- "!*.md"
20+
- "!**/*.md"
1821

1922
concurrency:
2023
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-lite-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- "setup.cfg" # includes pytest config
1515
- ".github/workflows/ci-lite-tests.yml"
1616
- ".actions/**"
17+
- "!requirements/lite/docs.txt"
18+
- "!*.md"
19+
- "!**/*.md"
1720

1821
concurrency:
1922
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-pkg-install.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
- "setup.py"
1414
- "src/**"
1515
- "requirements/**"
16+
- "!requirements/**/docs.txt"
17+
- "!*.md"
18+
- "!**/*.md"
1619

1720
concurrency:
1821
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-pytorch-dockers.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- "environment.yml"
1515
- "setup.py"
1616
- ".actions/**"
17+
- "!requirements/**/docs.txt"
18+
- "!*.md"
19+
- "!**/*.md"
1720
schedule:
1821
- cron: "0 0 * * *" # at the end of every day
1922

.github/workflows/ci-pytorch-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
- "requirements/lite/**"
1818
- "src/lightning_lite/**"
1919
- ".actions/**"
20+
- "!requirements/**/docs.txt"
21+
- "!*.md"
22+
- "!**/*.md"
2023

2124
concurrency:
2225
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/code-checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "src/**"
1212
- "pyproject.toml" # includes mypy config
1313
- ".actions/**"
14+
- "!requirements/**/docs.txt"
15+
- "!*.md"
16+
- "!**/*.md"
1417

1518
concurrency:
1619
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/docs-checks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
- "setup.py"
1717
- "setup.cfg" # includes metadata used in the package creation
1818
- ".github/workflows/docs-checks.yml"
19+
- "!*.md"
20+
- "!**/*.md"
1921

2022
concurrency:
2123
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/tpu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
- "tests/tests_pytorch/**"
1818
- "setup.cfg" # includes pytest config
1919
- ".actions/**"
20+
- "!requirements/**/docs.txt"
21+
- "!*.md"
22+
- "!**/*.md"
2023

2124
concurrency:
2225
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

0 commit comments

Comments
 (0)