Skip to content

Commit cbeb6f3

Browse files
authored
Merge pull request #825 from NHSDigital/add-maxfail
Use `pytest --maxfail` flag
2 parents 172e7b0 + 5125992 commit cbeb6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/run-functional-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ runs:
8585
shell: bash
8686

8787
- name: Run tests
88-
run: uv run pytest -n ${{ inputs.test_workers }} ${{ steps.reruns.outputs.reruns }} -m "${{ steps.marker.outputs.marker }}" --device "${{ inputs.device }}" ${{ inputs.tests }}
88+
run: uv run pytest --maxfail 5 -n ${{ inputs.test_workers }} ${{ steps.reruns.outputs.reruns }} -m "${{ steps.marker.outputs.marker }}" --device "${{ inputs.device }}" ${{ inputs.tests }}
8989
shell: bash
9090
env:
9191
BASE_URL: ${{ inputs.base_url }}

0 commit comments

Comments
 (0)