From befbbde0d29e3abecfd6917dd930358a63fc5522 Mon Sep 17 00:00:00 2001 From: beckermr Date: Sun, 8 Feb 2026 08:43:51 -0600 Subject: [PATCH] test: retry once for some flaky tests --- .github/workflows/python_package.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_package.yaml b/.github/workflows/python_package.yaml index 73a7e689..96df0634 100644 --- a/.github/workflows/python_package.yaml +++ b/.github/workflows/python_package.yaml @@ -40,7 +40,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest pytest-codspeed pytest-randomly pytest-split + python -m pip install pytest pytest-codspeed pytest-randomly pytest-split pytest-retry python -m pip install . - name: Restore test durations @@ -71,7 +71,8 @@ jobs: --store-durations \ --durations-path=.test_durations.${{ matrix.group }} \ --splitting-algorithm least_duration \ - --clean-durations + --clean-durations \ + --retries 1 - name: Upload test durations uses: actions/upload-artifact@v6