Skip to content

Commit

Permalink
Use simplified syntax in GHA if-block
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Jul 29, 2023
1 parent ddaa385 commit 75c7b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
if: matrix.python-version == 'pypy-3.7' && matrix.platform == 'windows-latest'
run: python -m pip install tox-conda tox-gh-actions wheel
- name: Install optional dependencies (extras) on Linux/macOS
if: ${{ matrix.extras != 'none' && matrix.platform != 'windows-latest' }}
if: matrix.extras != 'none' && matrix.platform != 'windows-latest'
run: conda install -c anaconda ${{ matrix.extras }}
- name: Install optional dependencies (extras) on Windows
if: ${{ matrix.extras != 'none' && matrix.platform == 'windows-latest' }}
if: matrix.extras != 'none' && matrix.platform == 'windows-latest'
run: . ${env:CONDA}\scripts\conda.exe install -c anaconda ${{ matrix.extras }}
- name: Run tests
run: tox

0 comments on commit 75c7b5b

Please sign in to comment.