From 974cc402831d03fd9c1a6b5b0945f88e2fb40cd8 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Tue, 3 May 2022 16:59:45 -0400 Subject: [PATCH] BUG: Use actions/setup-java for pyimagej CI --- .github/workflows/notebook-test.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/notebook-test.yml b/.github/workflows/notebook-test.yml index 5c78d51..71c80bd 100644 --- a/.github/workflows/notebook-test.yml +++ b/.github/workflows/notebook-test.yml @@ -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