Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/jobs/webstandard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ if [ "$TEST" = "w3cval" ]; then

section_start "Install testsuite"
cd "$DIR"
wget https://github.com/validator/validator/releases/download/20.6.30/vnu.linux.zip
wget https://github.com/validator/validator/releases/download/latest/vnu.linux.zip
unzip -q vnu.linux.zip
# Remove a warning by creating an empty config.
touch vnu.properties
section_end

FLTR='--filterpattern .*autocomplete.*|.*role=tab.*|.*descendant.*|.*Stray.*|.*attribute.*|.*Forbidden.*|.*stream.*|.*obsolete.*'
Expand All @@ -128,7 +130,7 @@ if [ "$TEST" = "w3cval" ]; then
# shellcheck disable=SC2086
"$DIR"/vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format json $FLTR "$URL" 2> result.json
# shellcheck disable=SC2086
NEWFOUNDERRORS=$("$DIR"/vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format gnu $FLTR "$URL" 2>&1 | wc -l)
NEWFOUNDERRORS=$("$DIR"/vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format gnu $FLTR "$URL" 2>&1 | tee "$ARTIFACTS/w3c_${typ}_${URL}.log" | wc -l)
FOUNDERR=$((NEWFOUNDERRORS+FOUNDERR))
python3 -m "json.tool" < result.json > "$ARTIFACTS/w3c$typ$URL.json"
trace_off; python3 .github/jobs/jsontogha.py "$ARTIFACTS/w3c$typ$URL.json"; trace_on
Expand Down
Loading