Skip to content
Snippets Groups Projects
Commit f8569527 authored by Adam J. Stewart's avatar Adam J. Stewart
Browse files

Always run Documentation tests

parent f78134ef
Branches
Tags
No related merge requests found
...@@ -28,9 +28,6 @@ deps=( ...@@ -28,9 +28,6 @@ deps=(
# Check for dependencies # Check for dependencies
"$QA_DIR/check_dependencies" "${deps[@]}" || exit 1 "$QA_DIR/check_dependencies" "${deps[@]}" || exit 1
# Gather array of changed files
changed=($("$QA_DIR/changed_files" lib/spack/docs))
# Move to documentation directory # Move to documentation directory
# Allows script to be run from anywhere # Allows script to be run from anywhere
cd "$DOC_DIR" cd "$DOC_DIR"
...@@ -38,11 +35,6 @@ cd "$DOC_DIR" ...@@ -38,11 +35,6 @@ cd "$DOC_DIR"
# Cleanup temporary files upon exit or when script is killed # Cleanup temporary files upon exit or when script is killed
trap 'make clean --silent' EXIT SIGINT SIGTERM trap 'make clean --silent' EXIT SIGINT SIGTERM
# Only run tests if documentation was updated # Treat warnings as fatal errors
if [[ "${changed[@]}" ]]; then make SPHINXOPTS=-W
# Treat warnings as fatal errors
make SPHINXOPTS=-W
else
echo "No documentation was modified."
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment