Skip to content

Commit

Permalink
CI fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Nov 12, 2023
1 parent 6ce36dd commit 330278d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ jobs:
Add-Content $env:GITHUB_PATH "${{ github.workspace }}/dcm2niix_win/"
- name: Tests with pytest
if: runner.os == 'Windows'
run: |
pytest tests
- name: Tests with pytest
if: runner.os != 'Windows'
run: |
export DUECREDIT_ENABLE=yes
if [ "$RUNNER_OS" == "Linux" ] || [ "$RUNNER_OS" == "macOS" ]; then
export DUECREDIT_ENABLE=yes
fi
pytest tests

0 comments on commit 330278d

Please sign in to comment.