From 24523bd34d9bf8448df9215c5299e6de548a88fa Mon Sep 17 00:00:00 2001 From: Sebastian Raschka Date: Wed, 19 Jun 2024 07:37:41 -0500 Subject: [PATCH] Add pytest retry for link checks (#228) * add pytest retry for link checks * Update .github/workflows/check-links.yml * newline --- .github/workflows/check-links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 9d987cf..46fa32d 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -23,8 +23,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pytest-check-links + pip install pytest pytest-check-links pytest-retry - name: Check links run: | - pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org" \ No newline at end of file + pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org" --retries 2 --retry-delay 5