Skip to content

Commit 8cd6df8

Browse files
committed
Extend gh action workflow to allow failure
1 parent aeaf518 commit 8cd6df8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,16 @@ jobs:
6767
with:
6868
python-version: '3.11'
6969

70-
- run: pip install -r requirements/requirements-documentation.txt
70+
- name: Install dependencies
71+
run: pip install -r requirements/requirements-documentation.txt
72+
73+
# Start mkdocs server and wait for it to be ready
7174
- run: mkdocs serve &
7275
- run: WAIT_TIME=0 && until nc -vzw 2 localhost 8000 || [ $WAIT_TIME -eq 5 ]; do sleep $(( WAIT_TIME++ )); done
7376
- run: if [ $WAIT_TIME == 5 ]; then echo cannot start mkdocs server on http://localhost:8000; exit 1; fi
74-
- run: pylinkvalidate.py -P http://localhost:8000/
77+
78+
- name: Check links
79+
continue-on-error: true
80+
run: pylinkvalidate.py -P http://localhost:8000/
81+
82+
- run: echo "Done"

0 commit comments

Comments
 (0)