Skip to content

Commit 89594c8

Browse files
committed
If checking the links in the documentation times out, don't fail the whole job.
Sometimes a website freezes. Now the checking for links step will time out after 60 minutes, but because of the continue-on-error: true the rest of the job should finish. Probably we should pay more attention to the checking of links results anyway. (And/or do it less often)
1 parent 4655082 commit 89594c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
8888
- name: Check documentation links
8989
continue-on-error: true
90+
timeout-minutes: 60
9091
run: |
9192
cd documentation
9293
sphinx-build -b linkcheck -d build/doctrees/ source/ build/linkcheck | grep -e broken -e redirect | grep -v -e 'redirect https://doi.org/' -e 'broken https://doi.org/.* 403 Client Error: Forbidden'

0 commit comments

Comments
 (0)