From e7bfd1281f137ebacc406393c8dbd3ebaba55cbd Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Fri, 28 Jul 2023 15:10:41 +0200 Subject: [PATCH] Install scipy using conda --- .github/workflows/test.yml | 8 ++++---- tox.ini | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c1756fb..d69155ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,7 @@ jobs: - pypy-2.7 - pypy-3.8 - pypy-3.9 - dependencies: + extras: - none - scipy steps: @@ -44,8 +44,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install build tools run: python -m pip install tox-gh-actions wheel - - name: Install optional dependencies - run: python -m pip install ${{ matrix.dependencies }} - if: ${{ matrix.dependencies != 'none' }} + - name: Install optional dependencies (extras) + run: conda install -c conda-forge .[${{ matrix.extras }}] + if: ${{ matrix.extras != 'none' }} - name: Run tests run: tox diff --git a/tox.ini b/tox.ini index 7eb4efa4..e3828855 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,6 @@ commands = coverage run -m pytest {posargs} coverage xml coverage report -extras = scipy [testenv:clean] description = Clean up bytecode and build artifacts