Skip to content

Commit 24523bd

Browse files
authored
Add pytest retry for link checks (#228)
* add pytest retry for link checks * Update .github/workflows/check-links.yml * newline
1 parent 44cda14 commit 24523bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-links.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install pytest pytest-check-links
26+
pip install pytest pytest-check-links pytest-retry
2727
2828
- name: Check links
2929
run: |
30-
pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org"
30+
pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org" --retries 2 --retry-delay 5

0 commit comments

Comments
 (0)