Skip to content

Commit

Permalink
Merge pull request #140 from ecmwf-actions/fix/empty-pytest-message
Browse files Browse the repository at this point in the history
Make "-m" optional qa-pytest-pyproject.yml
  • Loading branch information
iainrussell authored Sep 24, 2024
2 parents 76dae72 + 65791b9 commit 1b9b135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/qa-pytest-pyproject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
verbose: true
emoji: ${{ inputs.emoji }}
job-summary: ${{ inputs.job-summary }}
custom-arguments: "-m ${{ inputs.skip-tests }}"
custom-arguments: ${{ inputs.skip-tests != '' && '-m ' || '' }}${{ inputs.skip-tests }}
click-to-expand: true
report-title: "Test report (python ${{ inputs.python-version }} on ${{ matrix.platform }})"
custom-pytest: ${{ inputs.custom-pytest }}

0 comments on commit 1b9b135

Please sign in to comment.