Skip to content

Commit 494dab4

Browse files
committed
BUG: Use actions/setup-java for pyimagej CI
1 parent b5e2e24 commit 494dab4

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/notebook-test.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,14 @@ jobs:
1111
- uses: actions/setup-python@v3
1212
with:
1313
python-version: '3.9'
14-
- uses: conda-incubator/setup-miniconda@v2
14+
- uses: actions/setup-java@v3
1515
with:
16-
python-version: '3.9'
17-
mamba-version: "*"
18-
channels: conda-forge,defaults
19-
channel-priority: true
20-
- name: Install PyImageJ example dependencies
21-
shell: bash -l {0}
22-
run: |
23-
mamba install --yes -c conda-forge pyimagej openjdk=8 pip
16+
java-version: '8'
17+
distribution: 'zulu'
2418
- name: Install test dependencies
2519
run: |
26-
pip install -e '.[test]'
20+
python3 -m pip install --upgrade pip
21+
python3 -m pip install -e ".[test]"
2722
- name: Test notebooks
2823
run: |
2924
pytest --nbmake --nbmake-timeout=3000 examples/*ipynb

0 commit comments

Comments
 (0)