Skip to content

Commit 48ddb0a

Browse files
carmoccaBorda
authored andcommitted
Add a required job checker as an action (1/2) (#14363)
Co-authored-by: Jirka Borovec <[email protected]>
1 parent 5f5b8da commit 48ddb0a

File tree

2 files changed

+43
-13
lines changed

2 files changed

+43
-13
lines changed

.github/checkgroup.yml

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
custom_service_name: "Lightning CI required checker"
2+
# For security reasons, configuration is only loaded from the repository's default branch,
3+
# changes made in pull requests from different branches or forks are ignored. This means that changes to this file
4+
# will only be used after they are merged.
25
subprojects:
36
- id: "CI: CircleCI"
47
paths:
58
- ".circleci/**"
69
checks:
710
- "test-on-tpus"
811

9-
- id: "CI: Azure"
10-
paths:
11-
- ".azure/**"
12-
checks:
13-
- "pytorch-lightning (GPUs)"
14-
- "pytorch-lightning (GPUs) (testing PyTorch - stable)"
15-
- "pytorch-lightning (HPUs)"
16-
- "pytorch-lightning (IPUs)"
17-
1812
- id: "pytorch_lightning"
1913
paths:
2014
# all examples don't need to be added because they aren't used in CI, but these are
@@ -52,14 +46,32 @@ subprojects:
5246
- "mypy"
5347
- "PR Gatekeeper (pytorch)"
5448
- "pytorch-lightning (GPUs)"
55-
- "pytorch-lightning (GPUs) (testing PyTorch - stable)"
5649
- "pytorch-lightning (HPUs)"
5750
- "pytorch-lightning (IPUs)"
5851
- "slow (macOS-11, 3.7, 1.11)"
5952
- "slow (ubuntu-20.04, 3.7, 1.11)"
6053
- "slow (windows-2022, 3.7, 1.11)"
6154
- "test-on-tpus"
6255

56+
- id: "pytorch_lightning: Azure GPU"
57+
paths:
58+
- ".azure/gpu-tests.yml"
59+
- "tests/tests_pytorch/run_standalone_*.sh"
60+
checks:
61+
- "pytorch-lightning (GPUs)"
62+
63+
- id: "pytorch_lightning: Azure HPU"
64+
paths:
65+
- ".azure/hpu-tests.yml"
66+
checks:
67+
- "pytorch-lightning (HPUs)"
68+
69+
- id: "pytorch_lightning: Azure IPU"
70+
paths:
71+
- ".azure/ipu-tests.yml"
72+
checks:
73+
- "pytorch-lightning (IPUs)"
74+
6375
- id: "pytorch_lightning: Docs"
6476
paths:
6577
- "docs/source-pytorch/**"
@@ -73,7 +85,6 @@ subprojects:
7385
- id: "pytorch_lightning: Docker"
7486
paths:
7587
- "dockers/**"
76-
- "!dockers/README.md"
7788
- "requirements.txt"
7889
- "requirements/*.txt"
7990
- "requirements/pytorch/*"
@@ -108,12 +119,10 @@ subprojects:
108119

109120
- id: "lightning_app"
110121
paths:
111-
- ".github/workflows/ci-app*.yml"
112122
- "requirements/app/**"
113123
- "src/lightning_app/**"
114124
- "tests/tests_app/**"
115125
- "tests/tests_app_examples/**"
116-
- "tests/tests_clusters/**"
117126
# the examples are used in the app CI
118127
- "examples/app_*"
119128
checks:
@@ -137,6 +146,12 @@ subprojects:
137146
- "pytest (windows-2022, 3.8, latest)"
138147
- "pytest (windows-2022, 3.8, oldest)"
139148

149+
- id: "lightning_app: Azure"
150+
paths:
151+
- ".azure/app-cloud-e2e.yml"
152+
checks:
153+
- "App.cloud-e2e"
154+
140155
- id: "lightning_app: Docs"
141156
paths:
142157
- "docs/source-app/**"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Probot
2+
3+
on:
4+
check_run: {}
5+
pull_request: {}
6+
issue_comment: {types: [created]}
7+
8+
jobs:
9+
required-jobs:
10+
runs-on: ubuntu-latest
11+
if: github.event_name != 'issue_comment' || contains(github.event.comment.body, '@probot pls')
12+
steps:
13+
- uses: carmocca/probot@v2
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)