Skip to content

Commit

Permalink
BUG: Use actions/setup-java for pyimagej CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed May 5, 2022
1 parent ae28672 commit 974cc40
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/setup-java@v3
with:
python-version: '3.9'
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
- name: Install PyImageJ example dependencies
shell: bash -l {0}
run: |
mamba install --yes -c conda-forge pyimagej openjdk=8 pip
java-version: '8'
distribution: 'zulu'
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[test]"
- name: Test notebooks
run: |
pytest --nbmake --nbmake-timeout=3000 examples/*ipynb

0 comments on commit 974cc40

Please sign in to comment.