take out junit for now

This commit is contained in:
Jonathan Wren 2020-11-07 15:47:58 -08:00
parent 7419937f81
commit 7251cda893
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -9,11 +9,11 @@ mkdocs build
mkdir -p "$reports_dir"
printf -- 'scanning: /\n'
./node_modules/.bin/pa11y "$site_url" --reporter junit > "$reports_dir/root.xml" || exit_code=2
./node_modules/.bin/pa11y "$site_url" || exit_code=2
for file in $(xq '.urlset.url[].loc' site/sitemap.xml -r | sed -r 's!https://jrnl.sh/(.*?)/$!\1!'); do
printf -- 'scanning: /%s\n' "$file"
./node_modules/.bin/pa11y "$site_url/$file" --reporter junit > "$reports_dir/$file.xml" || exit_code=2
./node_modules/.bin/pa11y "$site_url/$file" || exit_code=2
done
exit $exit_code