mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
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:
committed by
GitHub
parent
44cda14494
commit
24523bd34d
4
.github/workflows/check-links.yml
vendored
4
.github/workflows/check-links.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user