Przeglądaj źródła

Reorder link check

Steven Silvester 5 lat temu
rodzic
commit
a52abbd9ae
1 zmienionych plików z 3 dodań i 4 usunięć
  1. 3 4
      scripts/ci_script.sh

+ 3 - 4
scripts/ci_script.sh

@@ -45,6 +45,9 @@ fi
 
 
 if [[ $GROUP == docs ]]; then
+    # Run the link check - allow for a link to fail once
+    py.test --check-links -k .md . || py.test --check-links -k .md --lf .
+
     # Build the docs
     jlpm build:packages
     jlpm docs
@@ -54,10 +57,6 @@ if [[ $GROUP == docs ]]; then
     pip install sphinx sphinx-copybutton sphinx_rtd_theme recommonmark jsx-lexer
     make html
     popd
-
-    # Run the link check - allow for a link to fail once
-    py.test --check-links -k .md . || py.test --check-links -k .md --lf .
-
 fi