Skip to content

Commit a923f65

Browse files
authored
retry failed tests (#4675)
* retry failed tests * retry even more
1 parent 80966db commit a923f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration_app_harness.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
python-version: ${{ matrix.python-version }}
4848
run-poetry-install: true
4949
create-venv-at-path: .venv
50-
- run: poetry run uv pip install pyvirtualdisplay pillow pytest-split
50+
- run: poetry run uv pip install pyvirtualdisplay pillow pytest-split pytest-retry
5151
- name: Run app harness tests
5252
env:
5353
SCREENSHOT_DIR: /tmp/screenshots/${{ matrix.state_manager }}/${{ matrix.python-version }}/${{ matrix.split_index }}
5454
REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
5555
run: |
5656
poetry run playwright install chromium
57-
poetry run pytest tests/integration --splits 2 --group ${{matrix.split_index}}
57+
poetry run pytest tests/integration --retries 3 --maxfail=5 --splits 2 --group ${{matrix.split_index}}
5858
- uses: actions/upload-artifact@v4
5959
name: Upload failed test screenshots
6060
if: always()

0 commit comments

Comments
 (0)