| 1 |
name: Test downstream projects |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: ["main"] |
| 6 |
pull_request: |
| 7 |
|
| 8 |
concurrency: |
| 9 |
group: downstream-${{ github.ref }} |
| 10 |
cancel-in-progress: true |
| 11 |
|
| 12 |
jobs: |
| 13 |
nbclient: |
| 14 |
runs-on: ubuntu-latest |
| 15 |
steps: |
| 16 |
- name: Checkout |
| 17 |
uses: actions/checkout@v6 |
| 18 |
|
| 19 |
- name: Base Setup |
| 20 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 21 |
|
| 22 |
- name: Run Test |
| 23 |
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 |
| 24 |
with: |
| 25 |
package_name: nbclient |
| 26 |
env_values: IPYKERNEL_CELL_NAME=\<IPY-INPUT\> |
| 27 |
|
| 28 |
ipywidgets: |
| 29 |
runs-on: ubuntu-latest |
| 30 |
steps: |
| 31 |
- name: Checkout |
| 32 |
uses: actions/checkout@v6 |
| 33 |
|
| 34 |
- name: Base Setup |
| 35 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 36 |
|
| 37 |
- name: Run Test |
| 38 |
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 |
| 39 |
with: |
| 40 |
package_name: ipywidgets |
| 41 |
test_command: pytest -vv -raXxs -W default --durations 10 --color=yes |
| 42 |
|
| 43 |
jupyter_client: |
| 44 |
runs-on: ubuntu-latest |
| 45 |
steps: |
| 46 |
- name: Checkout |
| 47 |
uses: actions/checkout@v6 |
| 48 |
|
| 49 |
- name: Base Setup |
| 50 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 51 |
|
| 52 |
- name: Run Test |
| 53 |
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 |
| 54 |
with: |
| 55 |
package_name: jupyter_client |
| 56 |
test_command: "pytest -vv -raXxs -W default --durations 10 --color=yes -k 'not (test_input_request or signal_kernel_subprocess)'" |
| 57 |
|
| 58 |
ipyparallel: |
| 59 |
runs-on: ubuntu-latest |
| 60 |
timeout-minutes: 20 |
| 61 |
steps: |
| 62 |
- name: Checkout |
| 63 |
uses: actions/checkout@v6 |
| 64 |
|
| 65 |
- name: Base Setup |
| 66 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 67 |
|
| 68 |
- name: Run Test |
| 69 |
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 |
| 70 |
with: |
| 71 |
package_name: ipyparallel |
| 72 |
package_spec: '-e ".[test]"' |
| 73 |
|
| 74 |
jupyter_kernel_test: |
| 75 |
runs-on: ubuntu-latest |
| 76 |
steps: |
| 77 |
- name: Checkout |
| 78 |
uses: actions/checkout@v6 |
| 79 |
|
| 80 |
- name: Base Setup |
| 81 |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 82 |
|
| 83 |
- name: Run Test |
| 84 |
run: | |
| 85 |
git clone https://github.com/jupyter/jupyter_kernel_test.git |
| 86 |
cd jupyter_kernel_test |
| 87 |
pip install -e ".[test]" |
| 88 |
python test_ipykernel.py |