Skip to content

Commit cca3432

Browse files
authored
Checkgroup config fixes (#15787)
1 parent 4a11c67 commit cca3432

13 files changed

+57
-53
lines changed

.azure/app-cloud-e2e.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ pr:
3030
- ".actions/**"
3131
- ".azure/app-cloud-e2e.yml"
3232
- "src/lightning_app/**"
33-
- "examples/app_*/**" # some tests_app tests call examples files
3433
- "requirements/app/**"
3534
- "tests/tests_examples_app/**"
3635
- "setup.py"
@@ -94,8 +93,8 @@ jobs:
9493
'App: custom_work_dependencies':
9594
name: "custom_work_dependencies"
9695
dir: "local"
97-
timeoutInMinutes: "20"
98-
cancelTimeoutInMinutes: "2"
96+
timeoutInMinutes: "10"
97+
cancelTimeoutInMinutes: "1"
9998
# values: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace
10099
workspace:
101100
clean: all
@@ -165,7 +164,7 @@ jobs:
165164
ls -l examples/${TEST_APP_NAME}
166165
ls -l tests/tests_examples_app/public
167166
python -m pytest tests/tests_examples_app/${TEST_APP_FOLDER}/test_${TEST_APP_NAME}.py::test_${TEST_APP_NAME}_example_cloud \
168-
--timeout=1200 --capture=no -v --color=yes
167+
--timeout=540 --capture=no -v --color=yes
169168
env:
170169
HEADLESS: '1'
171170
PACKAGE_LIGHTNING: '1'

.azure/gpu-benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pr:
2424
- "tests/tests_pytorch/benchmarks/**"
2525
- "requirements/pytorch/**"
2626
exclude:
27-
- "requirements/pytorch/docs.txt"
27+
- "requirements/*/docs.txt"
2828
- "*.md"
2929
- "**/*.md"
3030

.azure/gpu-tests-lite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pr:
3131
- "tests/tests_lite/**"
3232
- "setup.cfg" # includes pytest config
3333
exclude:
34-
- "requirements/lite/docs.txt"
34+
- "requirements/*/docs.txt"
3535
- "*.md"
3636
- "**/*.md"
3737

.github/checkgroup.yml

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ subprojects:
55

66
- id: "pytorch_lightning: Tests workflow"
77
paths:
8+
- ".actions/**"
89
- ".github/workflows/ci-pytorch-tests.yml"
910
- "requirements/lite/**"
1011
- "src/lightning_lite/**"
@@ -13,8 +14,7 @@ subprojects:
1314
- "tests/tests_pytorch/**"
1415
- "tests/legacy/back-compatible-versions.txt"
1516
- "setup.cfg" # includes pytest config
16-
- ".actions/**"
17-
- "!requirements/**/docs.txt"
17+
- "!requirements/*/docs.txt"
1818
- "!*.md"
1919
- "!**/*.md"
2020
checks:
@@ -40,6 +40,7 @@ subprojects:
4040

4141
- id: "pytorch_lightning: Azure GPU"
4242
paths:
43+
- ".actions/**"
4344
- ".azure/gpu-tests-pytorch.yml"
4445
# only the azure GPU workflow runs the examples
4546
# all examples don't need to be added because they aren't used in CI, but these are
@@ -55,8 +56,8 @@ subprojects:
5556
- "setup.cfg" # includes pytest config
5657
- "requirements/lite/**"
5758
- "src/lightning_lite/**"
58-
- ".actions/**"
59-
- "!requirements/**/docs.txt"
59+
- "!requirements/docs.txt"
60+
- "!requirements/*/docs.txt"
6061
- "!*.md"
6162
- "!**/*.md"
6263
checks:
@@ -75,6 +76,7 @@ subprojects:
7576

7677
- id: "pytorch_lightning: Azure HPU"
7778
paths:
79+
- ".actions/**"
7880
- ".azure/hpu-tests.yml"
7981
- "examples/pl_hpu/mnist_sample.py"
8082
- "requirements/lite/**"
@@ -83,24 +85,24 @@ subprojects:
8385
- "src/pytorch_lightning/**"
8486
- "tests/tests_pytorch/**"
8587
- "setup.cfg" # includes pytest config
86-
- ".actions/**"
87-
- "!requirements/**/docs.txt"
88+
- "!requirements/*/docs.txt"
8889
- "!*.md"
8990
- "!**/*.md"
9091
checks:
9192
- "pytorch-lightning (HPUs)"
9293

9394
- id: "pytorch_lightning: Azure IPU"
9495
paths:
96+
- ".actions/**"
9597
- ".azure/ipu-tests.yml"
9698
- "requirements/lite/**"
9799
- "src/lightning_lite/**"
98100
- "requirements/pytorch/**"
99101
- "src/pytorch_lightning/**"
100102
- "tests/tests_pytorch/**"
101103
- "setup.cfg" # includes pytest config
102-
- ".actions/**"
103-
- "!requirements/**/docs.txt"
104+
- "!requirements/docs.txt"
105+
- "!requirements/*/docs.txt"
104106
- "!*.md"
105107
- "!**/*.md"
106108
checks:
@@ -109,6 +111,7 @@ subprojects:
109111
# TODO: since this job has intermittent availability, it cannot be required
110112
#- id: "pytorch-lightning: TPU workflow"
111113
# paths:
114+
# - ".actions/**"
112115
# - ".github/workflows/tpu-tests.yml"
113116
# - "dockers/base-xla/*"
114117
# - "requirements/lite/**"
@@ -118,8 +121,7 @@ subprojects:
118121
# - "src/pytorch_lightning/**"
119122
# - "tests/tests_pytorch/**"
120123
# - "setup.cfg" # includes pytest config
121-
# - ".actions/**"
122-
# - "!requirements/**/docs.txt"
124+
# - "!requirements/*/docs.txt"
123125
# - "!*.md"
124126
# - "!**/*.md"
125127
# checks:
@@ -129,12 +131,12 @@ subprojects:
129131
paths:
130132
- "src/pytorch_lightning/**"
131133
- "docs/source-pytorch/**"
134+
- ".actions/**"
132135
- ".github/workflows/docs-checks.yml"
133136
- "requirements/docs.txt"
134137
- "requirements/pytorch/**"
135138
- "setup.py"
136139
- "setup.cfg" # includes metadata used in the package creation
137-
- ".actions/**"
138140
- "!*.md"
139141
- "!**/*.md"
140142
checks:
@@ -143,14 +145,14 @@ subprojects:
143145

144146
- id: "pytorch_lightning: Docker"
145147
paths:
146-
- "dockers/**"
148+
- ".actions/**"
147149
- ".github/workflows/ci-pytorch-dockers.yml"
150+
- "dockers/**"
148151
- "requirements/pytorch/**"
149152
- "requirements/lite/**"
150153
- "environment.yml"
151154
- "setup.py"
152-
- ".actions/**"
153-
- "!requirements/**/docs.txt"
155+
- "!requirements/*/docs.txt"
154156
- "!*.md"
155157
- "!**/*.md"
156158
checks:
@@ -171,13 +173,13 @@ subprojects:
171173

172174
- id: "lightning_lite: CPU workflow"
173175
paths:
176+
- ".actions/**"
174177
- "requirements/lite/**"
175178
- "src/lightning_lite/**"
176179
- "tests/tests_lite/**"
177180
- "setup.cfg" # includes pytest config
178181
- ".github/workflows/ci-lite-tests.yml"
179-
- ".actions/**"
180-
- "!requirements/lite/docs.txt"
182+
- "!requirements/*/docs.txt"
181183
- "!*.md"
182184
- "!**/*.md"
183185
checks:
@@ -200,6 +202,7 @@ subprojects:
200202

201203
- id: "lightning_lite: Azure GPU"
202204
paths:
205+
- ".actions/**"
203206
- ".azure/gpu-tests-lite.yml"
204207
- "examples/lite/**"
205208
- "examples/run_lite_examples.sh"
@@ -209,8 +212,7 @@ subprojects:
209212
- "src/lightning_lite/**"
210213
- "tests/tests_lite/**"
211214
- "setup.cfg" # includes pytest config
212-
- ".actions/**"
213-
- "!requirements/lite/docs.txt"
215+
- "!requirements/*/docs.txt"
214216
- "!*.md"
215217
- "!**/*.md"
216218
checks:
@@ -220,13 +222,13 @@ subprojects:
220222

221223
- id: "lightning_app: Tests workflow"
222224
paths:
225+
- ".actions/**"
223226
- ".github/workflows/ci-app-tests.yml"
224227
- "src/lightning_app/**"
225228
- "tests/tests_app/**"
226229
- "requirements/app/**"
227230
- "setup.py"
228-
- ".actions/**"
229-
- "!requirements/app/docs.txt"
231+
- "!requirements/*/docs.txt"
230232
- "!*.md"
231233
- "!**/*.md"
232234
checks:
@@ -242,14 +244,14 @@ subprojects:
242244

243245
- id: "lightning_app: Examples"
244246
paths:
247+
- ".actions/**"
245248
- ".github/workflows/ci-app-examples.yml"
246249
- "src/lightning_app/**"
247250
- "tests/tests_examples_app/**"
248251
- "examples/app_*/**"
249252
- "requirements/app/**"
250253
- "setup.py"
251-
- ".actions/**"
252-
- "!requirements/app/docs.txt"
254+
- "!requirements/*/docs.txt"
253255
- "!*.md"
254256
- "!**/*.md"
255257
checks:
@@ -265,29 +267,28 @@ subprojects:
265267

266268
- id: "lightning_app: Azure"
267269
paths:
270+
- ".actions/**"
268271
- ".azure/app-cloud-e2e.yml"
269-
- "requirements/app/**"
270272
- "src/lightning_app/**"
271-
- "examples/app_*/**" # some tests_app tests call examples files
273+
- "requirements/app/**"
272274
- "tests/tests_examples_app/**"
273275
- "setup.py"
274-
- ".actions/**"
275-
- "!requirements/app/docs.txt"
276+
- "!requirements/*/docs.txt"
276277
- "!*.md"
277278
- "!**/*.md"
278279
checks:
279280
- "App.cloud-e2e"
280281

281282
- id: "lightning_app: Docs"
282283
paths:
284+
- ".actions/**"
283285
- "src/lightning_app/**"
284286
- "docs/source-app/**"
285287
- ".github/workflows/docs-checks.yml"
286288
- "requirements/docs.txt"
287289
- "requirements/app/**"
288290
- "setup.py"
289291
- "setup.cfg" # includes metadata used in the package creation
290-
- ".actions/**"
291292
- "!*.md"
292293
- "!**/*.md"
293294
checks:
@@ -298,12 +299,13 @@ subprojects:
298299

299300
- id: "mypy"
300301
paths:
302+
- ".actions/**"
301303
- ".github/workflows/code-checks.yml"
302304
- "requirements/**"
303305
- "src/**"
304306
- "pyproject.toml" # includes mypy config
305-
- ".actions/**"
306-
- "!requirements/**/docs.txt"
307+
- "!requirements/docs.txt"
308+
- "!requirements/*/docs.txt"
307309
- "!*.md"
308310
- "!**/*.md"
309311
checks:
@@ -316,7 +318,8 @@ subprojects:
316318
- "setup.py"
317319
- "src/**"
318320
- "requirements/**"
319-
- "!requirements/**/docs.txt"
321+
- "!requirements/docs.txt"
322+
- "!requirements/*/docs.txt"
320323
- "!*.md"
321324
- "!**/*.md"
322325
checks:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
branches: [master, "release/*"]
99
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
1010
paths:
11+
- ".actions/**"
1112
- ".github/workflows/ci-app-examples.yml"
1213
- "src/lightning_app/**"
1314
- "tests/tests_examples_app/**"
1415
- "examples/app_*/**"
1516
- "requirements/app/**"
1617
- "setup.py"
17-
- ".actions/**"
18-
- "!requirements/app/docs.txt"
18+
- "!requirements/*/docs.txt"
1919
- "!*.md"
2020
- "!**/*.md"
2121

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
branches: [master, "release/*"]
99
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
1010
paths:
11+
- ".actions/**"
1112
- ".github/workflows/ci-app-tests.yml"
1213
- "src/lightning_app/**"
1314
- "tests/tests_app/**"
1415
- "requirements/app/**"
1516
- "setup.py"
16-
- ".actions/**"
17-
- "!requirements/app/docs.txt"
17+
- "!requirements/*/docs.txt"
1818
- "!*.md"
1919
- "!**/*.md"
2020

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
branches: [master, "release/*"]
99
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
1010
paths:
11+
- ".actions/**"
1112
- "requirements/lite/**"
1213
- "src/lightning_lite/**"
1314
- "tests/tests_lite/**"
1415
- "setup.cfg" # includes pytest config
1516
- ".github/workflows/ci-lite-tests.yml"
16-
- ".actions/**"
17-
- "!requirements/lite/docs.txt"
17+
- "!requirements/*/docs.txt"
1818
- "!*.md"
1919
- "!**/*.md"
2020

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
- "setup.py"
1414
- "src/**"
1515
- "requirements/**"
16-
- "!requirements/**/docs.txt"
16+
- "!requirements/docs.txt"
17+
- "!requirements/*/docs.txt"
1718
- "!*.md"
1819
- "!**/*.md"
1920

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
branches: [master, "release/*"]
88
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
99
paths:
10-
- "dockers/**"
10+
- ".actions/**"
1111
- ".github/workflows/ci-pytorch-dockers.yml"
12+
- "dockers/**"
1213
- "requirements/pytorch/**"
1314
- "requirements/lite/**"
1415
- "environment.yml"
1516
- "setup.py"
16-
- ".actions/**"
17-
- "!requirements/**/docs.txt"
17+
- "!requirements/*/docs.txt"
1818
- "!*.md"
1919
- "!**/*.md"
2020
schedule:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches: [master, "release/*"]
99
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
1010
paths:
11+
- ".actions/**"
1112
- "requirements/pytorch/**"
1213
- "src/pytorch_lightning/**"
1314
- "tests/tests_pytorch/**"
@@ -16,8 +17,7 @@ on:
1617
- ".github/workflows/ci-pytorch-tests.yml"
1718
- "requirements/lite/**"
1819
- "src/lightning_lite/**"
19-
- ".actions/**"
20-
- "!requirements/**/docs.txt"
20+
- "!requirements/pytorch/docs.txt"
2121
- "!*.md"
2222
- "!**/*.md"
2323

0 commit comments

Comments
 (0)