More Typing Adoption #602
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test downstream projects | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
concurrency: | |
group: downstream-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ipython: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 | |
with: | |
package_name: ipython | |
package_spec: pip install -e ".[test]" | |
nbconvert: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 | |
with: | |
package_name: nbconvert | |
package_spec: pip install -e ".[test]" | |
jupyter_server: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 | |
with: | |
package_name: jupyter_server | |
ipywidgets: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 | |
with: | |
package_name: ipywidgets | |
notebook: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 | |
with: | |
package_name: notebook | |
test_command: pytest -vv --ignore-glob=notebook/tests/selenium/* --ignore-glob=notebook/nbconvert/tests/* --ignore-glob=notebook/services/nbconvert/tests/* | |
downstream_check: # This job does nothing and is only used for the branch protection | |
if: always() | |
needs: | |
- notebook | |
- ipywidgets | |
- jupyter_server | |
- nbconvert | |
- ipython | |
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) }} |