From 7199c83f370144abccf53d6e6c8354c7ad23b5ac Mon Sep 17 00:00:00 2001 From: Luis Pedro Coelho Date: Fri, 12 Jul 2024 11:32:48 -0400 Subject: [PATCH] TST Remove freeimage from test dependencies OTOH, freeimage and imread to CI test env. This way, they are tested on CI, but not required for wheel building and others Also, upgrade deprecated actions/checkout@v2 action (to actions/checkout@v4) --- .github/workflows/test-python-package-with-conda.yml | 3 ++- tests-requirements.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-python-package-with-conda.yml b/.github/workflows/test-python-package-with-conda.yml index 34514a5e..27bca206 100644 --- a/.github/workflows/test-python-package-with-conda.yml +++ b/.github/workflows/test-python-package-with-conda.yml @@ -100,7 +100,7 @@ jobs: numpy-version: '1.25' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: cache-environment: true @@ -112,6 +112,7 @@ jobs: shell: bash -l {0} run: | micromamba install --file tests-requirements.txt --name mahotas_test_env + micromamba install --name mahotas_test_env freeimage imread - name: Build shell: bash -l {0} run: | diff --git a/tests-requirements.txt b/tests-requirements.txt index 9312e5ba..c37bb818 100644 --- a/tests-requirements.txt +++ b/tests-requirements.txt @@ -1,6 +1,5 @@ matplotlib pip -freeimage coveralls pytest<=8.1.1 scipy