Skip to content

Commit 5d6858a

Browse files
committed
Attempt to mask tox failures
Signed-off-by: Samuel Monson <[email protected]>
1 parent 2b6739e commit 5d6858a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/run-tox/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
shell: bash
2424
- name: Run tox
2525
run: |
26-
tox run -e "${{ inputs.tox-env }}" -- ${{ inputs.tox-args }}
26+
tox run -e "${{ inputs.tox-env }}" -- ${{ inputs.tox-args }} || ret=$?
2727
# errno 5 means all tests were filtered out, ignore
28-
ret=$? && [[ $ret -eq 5 ]] && exit 0; exit $ret
28+
[[ "${ret:=0}" -eq 5 ]] && exit 0; exit $ret
2929
shell: bash

0 commit comments

Comments
 (0)