ci: Add pytest-rerunfailures for improved test reliability (#6852)

* chore: Add pytest-rerunfailures plugin for test reliability

* ci: Update unit tests workflow with pytest-rerunfailures
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-02-26 16:34:55 -03:00 committed by GitHub
commit 85b2818ea0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 4 deletions

View file

@ -60,7 +60,7 @@ jobs:
with:
timeout_minutes: 12
max_attempts: 2
command: make unit_tests async=false args="-x -vv --splits ${{ matrix.splitCount }} --group ${{ matrix.group }}"
command: make unit_tests args="-x -vv --splits ${{ matrix.splitCount }} --group ${{ matrix.group }} --reruns 5"
- name: Minimize uv cache
run: uv cache prune --ci
integration-tests: