Skip to content

IDC DICOM use itkwasm-dicom, idc python package #706

IDC DICOM use itkwasm-dicom, idc python package

IDC DICOM use itkwasm-dicom, idc python package #706

Workflow file for this run

name: Notebook tests
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
name: Test notebooks with nbmake
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
- name: Install test dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[test,all]"
python3 -m pip install pyimagej
python3 -c "import imagej; ij = imagej.init('2.5.0'); print(ij.getVersion())"
python3 -m pip install "itk>=5.3.0"
- name: Test notebooks
run: |
pytest --nbmake --nbmake-timeout=3000 examples/EnvironmentCheck.ipynb examples/Hello3DWorld.ipynb examples/NumPyArrayPointSet.ipynb examples/integrations/**/*.ipynb