Skip to content

Commit

Permalink
Fix if statements in workflow file.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jun 6, 2024
1 parent 8d0332f commit f176dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
miniforge-version: latest
- name: Run nose
shell: bash -l {0}
if: runner.python-version != '3.12'
if: ${{ matrix.python }} != '3.12'
run: |
nosetests -v --with-coverage --cover-package=yeadon
- name: Run pytest
shell: bash -l {0}
if: runner.python-version == '3.12'
if: ${{ matrix.python }} == '3.12'
run: |
conda install pytest
coverage run -m pytest yeadon
Expand Down

0 comments on commit f176dbd

Please sign in to comment.