4747 lab : ['>=3.3.0,<4.0.0a0']
4848 r : ['>=4']
4949 steps :
50- - uses : actions/checkout@v2
50+ - uses : actions/checkout@v3
5151
5252 - uses : cschleiden/replace-tokens@v1
5353 with :
@@ -158,7 +158,6 @@ jobs:
158158 miniforge-variant : Mambaforge
159159
160160 - name : Install minimal build deps
161- shell : bash -l {0}
162161 run : mamba install -n test -c conda-forge setuptools wheel 'jupyterlab${{ matrix.lab }}' 'nodejs${{ matrix.nodejs }}'
163162
164163 - name : Cache node_modules
@@ -210,7 +209,7 @@ jobs:
210209 sha256sum * | tee SHA256SUMS
211210
212211 - name : Publish builds
213- uses : actions/upload-artifact@v2
212+ uses : actions/upload-artifact@v3
214213 with :
215214 name : jupyterlab-lsp dist ${{ github.run_number }}
216215 path : ./dist
@@ -239,7 +238,7 @@ jobs:
239238 lab : ' >=3.4.0,<4'
240239
241240 steps :
242- - uses : actions/checkout@v2
241+ - uses : actions/checkout@v3
243242
244243 - name : Set JupyterLab and Node versions
245244 uses : cschleiden/replace-tokens@v1
@@ -297,7 +296,7 @@ jobs:
297296 key : |
298297 ${{ env.CACHE_EPOCH }}-julia-test-${{ runner.os }}-${{ env.JULIA_LANGSERVER }}
299298
300- - uses : actions/download-artifact@v2
299+ - uses : actions/download-artifact@v3
301300 with :
302301 name : jupyterlab-lsp dist ${{ github.run_number }}
303302 path : ./dist
@@ -395,11 +394,11 @@ jobs:
395394 py_cmd : python
396395 steps :
397396 - name : Install Python
398- uses : actions/setup-python@v2
397+ uses : actions/setup-python@v4
399398 with :
400399 python-version : ${{ matrix.python }}
401400 architecture : ' x64'
402- - uses : actions/download-artifact@v2
401+ - uses : actions/download-artifact@v3
403402 with :
404403 name : jupyterlab-lsp dist ${{ github.run_number }}
405404 path : ./dist
@@ -415,10 +414,10 @@ jobs:
415414 - name : Validate the install
416415 run : |
417416 set -eux
418- jupyter labextension list
419- jupyter server extension list
420- jupyter labextension list 2>&1 | grep -ie "jupyterlab-lsp.*enabled.*ok" -
421- jupyter server extension list 2>&1 | grep -ie "jupyter_lsp.*enabled" -
417+ ${{ matrix.py_cmd }} -m jupyter labextension list
418+ ${{ matrix.py_cmd }} -m jupyter server extension list
419+ ${{ matrix.py_cmd }} -m jupyter labextension list 2>&1 | grep -ie "jupyterlab-lsp.*enabled.*ok" -
420+ ${{ matrix.py_cmd }} -m jupyter server extension list 2>&1 | grep -ie "jupyter_lsp.*enabled" -
422421
423422 source :
424423 name : smoke source install ${{ matrix.os }} py${{ matrix.python }} lab${{ matrix.lab }}
@@ -437,23 +436,24 @@ jobs:
437436 lab : ' >=3.3,<4'
438437 steps :
439438 - name : Install Python
440- uses : actions/setup-python@v2
439+ uses : actions/setup-python@v4
441440 with :
442441 python-version : ${{ matrix.python }}
443442 architecture : ' x64'
444443 - name : Setup Node
445- uses : actions/setup-node@v2
444+ uses : actions/setup-node@v3
446445 with :
447446 node-version : ${{ matrix.nodejs }}
448- - uses : actions/download-artifact@v2
447+ - uses : actions/download-artifact@v3
449448 with :
450449 name : jupyterlab-lsp dist ${{ github.run_number }}
451450 path : ./dist
452451 - name : Install the prerequisites
453452 run : python -m pip install --upgrade pip wheel setuptools
454453 - name : Install JupyterLab
455- shell : bash -l {0}
456454 run : python -m pip install 'jupyterlab${{ matrix.lab }}'
455+ - name : Install Notebook (to test serverextension)
456+ run : python -m pip install 'notebook'
457457 - name : Install the server package
458458 run : cd dist && python -m pip install -vv jupyter_lsp*.whl
459459 - name : install the source extension
0 commit comments