Browse Source

More evenly split the docs builds

Steven Silvester 4 years ago
parent
commit
6571055d93
2 changed files with 6 additions and 6 deletions
  1. 1 1
      .github/workflows/linuxtests.yml
  2. 5 5
      scripts/ci_script.sh

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

@@ -7,7 +7,7 @@ jobs:
     name: Linux
     strategy:
       matrix:
-        group: [integrity, docs, changelog, python, usage, nonode]
+        group: [integrity, docs, docs2, python, usage, nonode]
         python: [3.5, 3.8]
         exclude:
           - group: integrity

+ 5 - 5
scripts/ci_script.sh

@@ -52,9 +52,6 @@ fi
 
 
 if [[ $GROUP == docs ]]; then
-    # Run the link check - allow for a link to fail once (--lf means only run last failed)
-    py.test --check-links -k .md . || py.test --check-links -k .md --lf .
-
     # Build the docs
     jlpm build:packages
     jlpm docs
@@ -77,8 +74,11 @@ fi
 
 
 
-if [[ $GROUP == changelog ]]; then
-    # Run the link check - allow for a link to fail once (--lf means only run last failed)
+if [[ $GROUP == docs2 ]]; then
+    # Run the link check on raw md files - allow for a link to fail once (--lf means only run last failed)
+    py.test --check-links -k .md . || py.test --check-links -k .md --lf .
+
+    # Run the link check on the changelog - allow for a link to fail once (--lf means only run last failed)
     changelog=./docs/source/getting_started/changelog.rst
     py.test --check-links $changlog || py.test --check-links --lf $changelog
 fi