Skip to content

Commit

Permalink
Add --exitfirst flag to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jitseniesen committed May 29, 2024
1 parent ee5ae5a commit 4ea745e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
shell: bash
command: |
. ~/.profile
xvfb-run --auto-servernum pytest spyder-notebook/spyder_notebook -vv
xvfb-run --auto-servernum pytest --exitfirst spyder-notebook/spyder_notebook -vv
- name: Run tests (MacOS)
if: matrix.OS == 'macos'
uses: nick-fields/retry@v3
Expand All @@ -109,11 +109,11 @@ jobs:
shell: bash
command: |
. ~/.profile
pytest spyder-notebook/spyder_notebook -vv
pytest --exitfirst spyder-notebook/spyder_notebook -vv
- name: Run tests (Windows)
if: matrix.OS == 'windows'
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: pytest spyder-notebook/spyder_notebook -vv
command: pytest --exitfirst spyder-notebook/spyder_notebook -vv

0 comments on commit 4ea745e

Please sign in to comment.