From 1bed4bed758e84e88588e3f9d22d0f28168ef288 Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Tue, 11 Apr 2017 10:09:27 -0400 Subject: [PATCH] Enable pa11ycrawler on pull requests. It will only fail the build if it totally breaks. --- scripts/accessibility-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/accessibility-tests.sh b/scripts/accessibility-tests.sh index a64f5715d4..a4a7ce81af 100755 --- a/scripts/accessibility-tests.sh +++ b/scripts/accessibility-tests.sh @@ -21,6 +21,9 @@ SELENIUM_BROWSER=phantomjs paver test_a11y --with-xunitmp echo "Generating coverage report..." paver a11y_coverage +# Force the following if statement to always be true +RUN_PA11YCRAWLER=1 + if [ "$RUN_PA11YCRAWLER" = "1" ] then # The settings that we use are installed with the pa11ycrawler module