Browse Source

Add back in the changelog link checks

Jason Grout 4 years ago
parent
commit
2fc3c9ce50
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/linuxtests.yml
  2. 1 1
      scripts/ci_script.sh

+ 1 - 1
.github/workflows/linuxtests.yml

@@ -67,7 +67,7 @@ jobs:
         if: ${{ matrix.group == 'linkcheck' }}
         with:
           path: ~/.cache/pytest-link-check
-          key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/*.rst') }}-nochangelog
+          key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/*.rst') }}-changelog
           restore-keys: |
             ${{ runner.os }}-linkcheck-
 

+ 1 - 1
scripts/ci_script.sh

@@ -67,7 +67,7 @@ if [[ $GROUP == linkcheck ]]; then
     # Expire links after a week
     LINKS_EXPIRE=604800
     args="--check-links --check-links-cache --check-links-cache-expire-after ${LINKS_EXPIRE} --check-links-cache-name ${CACHE_DIR}/cache"
-    args="--ignore docs/build/html/genindex.html --ignore docs/build/html/search.html --ignore docs/build/html/api --ignore docs/build/html/getting_started/changelog.html ${args}"
+    args="--ignore docs/build/html/genindex.html --ignore docs/build/html/search.html --ignore docs/build/html/api ${args}"
     py.test $args --links-ext .html -k .html docs/build/html || py.test $args --links-ext .html -k .html --lf docs/build/html
 
     # Run the link check on md files - allow for a link to fail once (--lf means only run last failed)