Skip to content

Commit

Permalink
Add notebook v6 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Nov 7, 2023
1 parent e6fb08e commit a495f23
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
branches: '*'

jobs:
build:
lab-build-test:
name: JupyterLab Build
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -48,3 +49,30 @@ jobs:
run: |
jlpm && jlpm build
jlpm run test
classic-notebook:
name: Notebook v6 Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
architecture: 'x64'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "notebook<7"
- name: Install the extension
run: |
jupyter nbextension install --sys-prefix --symlink --overwrite --py voila_gridstack
jupyter nbextension enable --sys-prefix --py voila_gridstack
- name: Check the extensions are installed
run: |
jupyter nbextension list 2>&1 | grep -ie "voila-gridstack/extension.*enabled" -

0 comments on commit a495f23

Please sign in to comment.