From 3f51a5748ca329c7a9256b39aae0b1f5fbfe3a71 Mon Sep 17 00:00:00 2001 From: Thomas Buckley-Houston Date: Sat, 29 Jul 2023 17:21:46 -0500 Subject: [PATCH] ci: retry Pyodide tests This is to get around a curious issue that isn't resolved by dependency locking. The flakey error is: `ImportError: cannot import name 'Any' from 'typing_extensions'` --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e21dbd42..000f867f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,9 +74,13 @@ jobs: sudo apt install chromium-browser chromium-chromedriver poetry install --with pyodide - name: Run Testsuite - run: | - source $VENV - poe test-pyodide + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + max_attempts: 3 + command: | + source $VENV + poe test-pyodide lint: needs: pre_job