Skip to content

Commit 62b8cc9

Browse files
committed
BUG: Install packages for notebook tests
1 parent 09c472d commit 62b8cc9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/notebook-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,26 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-python@v2
12+
with:
13+
python-version: 3.8
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
python -m pip install --upgrade setuptools wheel
18+
pip install -r requirements.txt -r requirements-dev.txt PySide2
19+
- name: Install package and extension
20+
run: |
21+
python -m pip install -e .
22+
jupyter nbextension install --py --symlink --sys-prefix itkwidgets
23+
jupyter nbextension enable --py --sys-prefix itkwidgets
24+
jupyter nbextension enable --py --sys-prefix widgetsnbextension
25+
env:
26+
MPLBACKEND: Qt5Agg
1227
- uses: treebeardtech/[email protected]
1328
with:
1429
docker-username: "${{ secrets.DOCKER_USERNAME }}"
1530
docker-password: "${{ secrets.DOCKER_PASSWORD }}"
1631
docker-image-name: insighttoolkit/itkwidgets
1732
notebooks: examples/*.ipynb
33+
env:
34+
MPLBACKEND: Qt5Agg

0 commit comments

Comments
 (0)