Skip to content

Commit 0309034

Browse files
blink1073Zsailer
andauthored
Add helper jobs for branch protection (#797)
Co-authored-by: Zachary Sailer <[email protected]>
1 parent 241f0f2 commit 0309034

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/integration-tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,14 @@ jobs:
2828
- name: Run the tests
2929
run: |
3030
pytest -vv --integration_tests=true tests
31+
32+
integration_check: # This job does nothing and is only used for the branch protection
33+
if: always()
34+
needs:
35+
- build
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Decide whether the needed jobs succeeded or failed
39+
uses: re-actors/alls-green@release/v1
40+
with:
41+
jobs: ${{ toJSON(needs) }}

.github/workflows/python-tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,18 @@ jobs:
137137
steps:
138138
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
139139
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
140+
141+
python_tests_check: # This job does nothing and is only used for the branch protection
142+
if: always()
143+
needs:
144+
- build
145+
- pre-commit
146+
- test_prereleases
147+
- make_sdist
148+
- test_sdist
149+
runs-on: ubuntu-latest
150+
steps:
151+
- name: Decide whether the needed jobs succeeded or failed
152+
uses: re-actors/alls-green@release/v1
153+
with:
154+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)