From 65791b91148c0c7e8bf2cca47321ce0c1301fcfb Mon Sep 17 00:00:00 2001 From: Jesper Dramsch Date: Tue, 24 Sep 2024 09:59:47 +0200 Subject: [PATCH] Make "-m" optional qa-pytest-pyproject.yml --- .github/workflows/qa-pytest-pyproject.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qa-pytest-pyproject.yml b/.github/workflows/qa-pytest-pyproject.yml index 8b4b3f4..dbc8a58 100644 --- a/.github/workflows/qa-pytest-pyproject.yml +++ b/.github/workflows/qa-pytest-pyproject.yml @@ -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 }}