File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 40
40
python-version : ["3.8", "3.11"]
41
41
jupyter_server-version : ["1", "2"]
42
42
jupyterlab-version : ["2", "3"]
43
- jupyter-app : [notebook, lab]
44
43
45
44
steps :
46
45
- uses : actions/checkout@v3
77
76
pip freeze
78
77
pip check
79
78
80
- - name : Run tests
79
+ - name : Run tests against jupyter-notebook
81
80
run : |
82
- JUPYTER_TOKEN=secret jupyter-${{ matrix.jupyter-app }} --config=./tests/resources/jupyter_server_config.py &
81
+ JUPYTER_TOKEN=secret jupyter-notebook --config=./tests/resources/jupyter_server_config.py &
82
+ sleep 5
83
+ cd tests
84
+ pytest -k "not acceptance"
85
+
86
+ - name : Run tests against jupyter-lab
87
+ run : |
88
+ JUPYTER_TOKEN=secret jupyter-lab --config=./tests/resources/jupyter_server_config.py &
83
89
sleep 5
84
90
cd tests
85
91
pytest -k "not acceptance"
89
95
uses : actions/upload-artifact@v3
90
96
with :
91
97
name : |-
92
- unit-tests-${{ matrix.python-version }}-${{ matrix.jupyter-app }}-${{ matrix. jupyterlab-version }}-${{ github.run_number }}
98
+ unit-tests-${{ matrix.python-version }}-${{ matrix.jupyterlab-version }}-${{ github.run_number }}
93
99
path : |
94
100
./build/pytest
95
101
./build/coverage
@@ -133,6 +139,6 @@ jobs:
133
139
uses : actions/upload-artifact@v3
134
140
with :
135
141
name : |-
136
- acceptance-tests-${{ matrix.python-version }}-${{ matrix.jupyter-app }}-${{ matrix. jupyterlab-version }}-${{ github.run_number }}
142
+ acceptance-tests-${{ matrix.python-version }}-${{ matrix.jupyterlab-version }}-${{ github.run_number }}
137
143
path : |
138
144
./build/robot
You can’t perform that action at this time.
0 commit comments