Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check links only on master #1049

Merged
merged 5 commits into from
Feb 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,26 @@ jobs:
. venv/bin/activate
cd docs/
make html
make linkcheck

- persist_to_workspace:
root: docs/_build
paths: html

docs-links:
executor: ubuntu-python37

steps:

- ubuntu_restore_all

- run:
name: "Check links"
when: always
command: |
. venv/bin/activate
cd docs/
make linkcheck

static:
executor: ubuntu-python37

Expand Down Expand Up @@ -310,6 +324,12 @@ workflows:
only: master
tags:
only: /(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(\.post(0|[1-9][0-9]*))?/
- docs-links: # a bit noisy, so only running on master, and does not stop deployments
requires:
- install
filters:
branches:
only: master
- pypi-deploy:
requires:
- install
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"windows.html",
"https://ieeexplore.ieee.org/*",
"https://iohprofiler.liacs.nl/", # server error: bad gateway
"https://www.facebook.com/whitehat/", # server error: 500
r"https://arxiv.org/abs/*",
] # Transient certificate error :(