summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-05-22 09:23:03 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2020-05-22 09:40:18 -0400
commit142842c55b63224682d0d8442b15a1825d86d7c4 (patch)
treec6dfe1e1337f1c380612c33b392780b59ce2077f /.github
parentb7d64294c45104436d305b6c70a6c879928e73cd (diff)
downloadpython-markdown-142842c55b63224682d0d8442b15a1825d86d7c4.tar.gz
Allow checklinks check to fail.
There are too many random arbitrary failures with this check. We still want the check to run to ensure we don't introduce any new errors. However, the random errors on external URLs are frustrating, especcially when a different URL fails on each run. And then when the URL is checked manually, it is clearly good. If the tool provided a flag to limit the check to intenral URLs only (it doesn't), we wouldn't use that anyway because we do want to know when an extenral URL becomes invalid. Although, I suppose we could do two runs, one intenral and one external and only allow the external to fail. But that will have to wait until such a feature is added to the tool or we find a better tool.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tox.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml
index c8fbd98..1c19989 100644
--- a/.github/workflows/tox.yml
+++ b/.github/workflows/tox.yml
@@ -68,6 +68,9 @@ jobs:
env:
TOXENV: ${{ matrix.tox-env }}
+ # Allow checklinks to fail
+ continue-on-error: ${{ matrix.tox-env == 'checklinks' }}
+
steps:
- uses: actions/checkout@v2
- name: Setup Python