Add pytest retry for link checks (#228)

* add pytest retry for link checks

* Update .github/workflows/check-links.yml

* newline
This commit is contained in:
Sebastian Raschka
2024-06-19 07:37:41 -05:00
committed by GitHub
parent 44cda14494
commit 24523bd34d

View File

@@ -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"
pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org" --retries 2 --retry-delay 5