Skip to content

Merge pull request #82 from thewtex/ci-updates #177

Merge pull request #82 from thewtex/ci-updates

Merge pull request #82 from thewtex/ci-updates #177

Workflow file for this run

name: Notebook tests
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
name: Test notebooks with nbmake
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- 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]"
python3 -m pip install pyimagej
python3 -c "import imagej; ij = imagej.init('2.5.0'); print(ij.getVersion())"
- name: Test notebooks
run: |
pytest --nbmake --nbmake-timeout=3000 examples/*ipynb