Skip to content

Commit

Permalink
Add a job to verify source install
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Feb 16, 2021
1 parent 024fc10 commit 7a41bfe
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/job.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,45 @@ jobs:
jupyter server extension list
jupyter labextension list 2>&1 | grep -ie "jupyterlab-lsp.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "jupyter_lsp.*enabled" -
source:
name: smoke source install ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
needs: [build, lint]
strategy:
fail-fast: false
matrix:
os: [ubuntu]
python: ['3.6']
nodejs: ['14']
lab: ['>=3.0.0,<4.0.0a0']
steps:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: 'x64'
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{matrix.nodejs}}
- uses: actions/download-artifact@v2
with:
name: jupyterlab-lsp dist ${{ github.run_number }}
path: ./dist
- name: Install the prerequisites
run: python -m pip install pip wheel
- name: Install JupyterLab
shell: bash -l {0}
run: python -m pip install 'jupyterlab${{ matrix.lab }}'
- name: Install the server package
run: cd dist && python -m pip install -vv jupyter_lsp*.whl
- name: install the source extension
run: cd dist && jupyter labextension install krassowski-jupyterlab-lsp-*.tgz
- name: Validate the install
run: |
set -eux
jupyter labextension list
jupyter server extension list
jupyter labextension list 2>&1 | grep -ie "jupyterlab-lsp.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "jupyter_lsp.*enabled" -

0 comments on commit 7a41bfe

Please sign in to comment.