Skip to content

Commit 9e33d43

Browse files
committed
Extend gh action workflow to allow failure
1 parent aeaf518 commit 9e33d43

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,22 @@ jobs:
6060
test-docs:
6161
name: Test documentation links
6262
runs-on: ubuntu-20.04
63+
continue-on-error: true
64+
experimental: true
6365
steps:
6466
- uses: actions/checkout@v3
6567

6668
- uses: actions/setup-python@v4
6769
with:
6870
python-version: '3.11'
6971

70-
- run: pip install -r requirements/requirements-documentation.txt
72+
- name: Install dependencies
73+
run: pip install -r requirements/requirements-documentation.txt
74+
75+
# Start mkdocs server and wait for it to be ready
7176
- run: mkdocs serve &
7277
- run: WAIT_TIME=0 && until nc -vzw 2 localhost 8000 || [ $WAIT_TIME -eq 5 ]; do sleep $(( WAIT_TIME++ )); done
7378
- 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/
79+
80+
- name: Check links
81+
run: pylinkvalidate.py -P http://localhost:8000/

0 commit comments

Comments
 (0)