Skip to content

Commit 90905e1

Browse files
authored
Run downstream tests in parallel (#973)
* Run downstream tests in parallel * fix nbclassic test * fix yaml
1 parent 9a2708e commit 90905e1

File tree

1 file changed

+36
-14
lines changed

1 file changed

+36
-14
lines changed

.github/workflows/downstream.yml

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Test downstream projects
1+
name: Downstream Tests
22

33
on:
44
push:
55
pull_request:
66

77
jobs:
8-
tests:
8+
nbclassic:
99
runs-on: ubuntu-latest
10-
timeout-minutes: 20
10+
timeout-minutes: 10
1111

1212
steps:
1313
- name: Checkout
@@ -21,17 +21,6 @@ jobs:
2121
with:
2222
package_name: nbclassic
2323

24-
- name: Test jupyterlab_server
25-
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
26-
with:
27-
package_name: jupyterlab_server
28-
29-
- name: Test jupyterlab
30-
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
31-
with:
32-
package_name: jupyterlab
33-
test_command: "python -m jupyterlab.browser_check --no-browser-test"
34-
3524
- name: Test run nbclassic
3625
run: |
3726
pip install nbclassic
@@ -45,3 +34,36 @@ jobs:
4534
sleep 5
4635
kill $TASK_PID
4736
wait $TASK_PID
37+
38+
jupyterlab_server:
39+
runs-on: ubuntu-latest
40+
timeout-minutes: 10
41+
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v2
45+
46+
- name: Base Setup
47+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
48+
49+
- name: Test jupyterlab_server
50+
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
51+
with:
52+
package_name: jupyterlab_server
53+
54+
jupyterlab:
55+
runs-on: ubuntu-latest
56+
timeout-minutes: 10
57+
58+
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v2
61+
62+
- name: Base Setup
63+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
64+
65+
- name: Test jupyterlab
66+
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
67+
with:
68+
package_name: jupyterlab
69+
test_command: "python -m jupyterlab.browser_check --no-browser-test"

0 commit comments

Comments
 (0)