We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check-links
1 parent 4bf2363 commit 7f0de07Copy full SHA for 7f0de07
test.sh
@@ -295,7 +295,11 @@ check_links()
295
echo "Checking notebook links"
296
export JUPYTER_PLATFORM_DIRS=1
297
jupyter --paths
298
- pytest --check-links docs/Tutorial_*.ipynb notebooks/Tutorial_*.ipynb docs/*.md docs/*.rst ./*.md ./*.rst --check-links-ignore "https://dl.acm.org/doi/10.1145/3357223.3362721"
+ RERUNS=""
299
+ if [[ `pytest --trace-config | grep rerunfailures | wc -l` -gt "0" ]]; then
300
+ RERUNS="--reruns 5"
301
+ fi
302
+ pytest $RERUNS --check-links docs/Tutorial_*.ipynb notebooks/Tutorial_*.ipynb docs/*.md docs/*.rst ./*.md ./*.rst --check-links-ignore "https://dl.acm.org/doi/10.1145/3357223.3362721"
303
check_errs $?
304
}
305
0 commit comments