From 4723c34af000c71124ccbdada10d9486dadbd719 Mon Sep 17 00:00:00 2001 From: Dmitry Maslennikov Date: Fri, 23 Aug 2024 00:22:13 +1000 Subject: [PATCH] retry last failed tests --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bd5677..379a7e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,8 +40,12 @@ jobs: pip install -r requirements-iris.txt pip install -e . - - name: Run unit tests - run: pytest --container containers.intersystems.com/intersystems/iris-community:latest-em + - uses: nick-fields/retry@v2 + name: Run unit tests + with: + timeout_minutes: 10 + max_attempts: 3 + command: pytest --container containers.intersystems.com/intersystems/iris-community:latest-em --lf # - name: Run Linters # if: matrix.python-version == '3.10'