Skip to content

Commit

Permalink
Add helper jobs for branch protection (#797)
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Sailer <zsailer@apple.com>
  • Loading branch information
blink1073 and Zsailer committed Apr 26, 2022
1 parent 241f0f2 commit 0309034
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/integration-tests.yml
Expand Up @@ -28,3 +28,14 @@ jobs:
- name: Run the tests
run: |
pytest -vv --integration_tests=true tests
integration_check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
15 changes: 15 additions & 0 deletions .github/workflows/python-tests.yml
Expand Up @@ -137,3 +137,18 @@ jobs:
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1

python_tests_check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- build
- pre-commit
- test_prereleases
- make_sdist
- test_sdist
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 0309034

Please sign in to comment.