From 98980ca86ef772d3717384eaad7ce2f26666d88a Mon Sep 17 00:00:00 2001 From: "Eden Ross Duff, MSc" Date: Sun, 26 May 2024 17:25:08 -0500 Subject: [PATCH] Update action.yml Signed-off-by: Eden Ross Duff, MSc --- action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 4b6e221..3e93dbe 100644 --- a/action.yml +++ b/action.yml @@ -16,6 +16,10 @@ inputs: description: "Operating system to run on" required: false default: "ubuntu-latest" + args: + description: posargs for tox + required: false + default: "" runs: using: "composite" steps: @@ -80,13 +84,13 @@ runs: - name: 'Run tests (Second Try)' if: ${{ (steps.setup1.outcome == 'failure') && (inputs.parallel != 'true') }} run: | - tox -r + tox -r -- ${{ inputs.args }} shell: bash - name: 'Run tests (Second Try)' if: ${{ (steps.setup2.outcome == 'failure') && (inputs.parallel == 'true') }} run: | - tox run-parallel -r --parallel-no-spinner + tox run-parallel -r --parallel-no-spinner -- ${{ inputs.args }} shell: bash - uses: sigstore/gh-action-sigstore-python@v2.1.2rc1