Skip to content

Commit

Permalink
Set PATH to conda on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Jul 28, 2023
1 parent b4f333f commit aeb4555
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install build tools
run: python -m pip install tox-gh-actions wheel
- name: Install optional dependencies (extras)
- name: Install optional dependencies (extras) on Linux/macOS
if: ${{ matrix.extras != 'none' && matrix.platform != 'windows-latest' }}
run: conda install -c anaconda ${{ matrix.extras }}
if: ${{ matrix.extras != 'none' }}
- name: Install optional dependencies (extras) on Windows
if: ${{ matrix.extras != 'none' && matrix.platform == 'windows-latest' }}
run: ${{ env.CONDA }}/scripts/conda install -c anaconda ${{ matrix.extras }}
- name: Run tests
run: tox

0 comments on commit aeb4555

Please sign in to comment.