Skip to content

Commit

Permalink
Check links only on master (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrapin authored Feb 15, 2021
1 parent d9eabd2 commit a78aee3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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 :(

0 comments on commit a78aee3

Please sign in to comment.