Skip to content

Commit

Permalink
ci(test): fix syntax error in if-statement
Browse files Browse the repository at this point in the history
Signed-off-by: David Hart <[email protected]>
  • Loading branch information
dbhart authored Oct 22, 2024
1 parent 0e0fd5c commit 951ebbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,20 @@ jobs:
run: python3 -m pip install .[formats,examples,tests]

- name: Test with pytest
if: ${{ !inputs.verbose }}
if: ${{ ! inputs.verbose }}
run: |
python3 -m pytest --nbmake --disable-warnings --cov=sansmic --cov=tests --no-header --color=auto examples/ tests/
- name: Test with pytest (non-windows verbose)
if: ${{ inputs.verbose && inputs.os != "windows-latest" }}
if: inputs.verbose && inputs.os != 'windows-latest'
run: |
echo '### Run tests' >> $GITHUB_STEP_SUMMARY
echo '```bash' >> $GITHUB_STEP_SUMMARY
python3 -m pytest --nbmake --disable-warnings --cov=sansmic --cov=tests --no-header --color=auto examples/ tests/ | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Test with pytest (windows verbose)
if: ${{ inputs.verbose && inputs.os == "windows-latest" }}
if: inputs.verbose && inputs.os == 'windows-latest'
shell: powershell
run: |
echo '### Run tests' >> $Env:GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 951ebbd

Please sign in to comment.