Skip to content

Commit 8e2749f

Browse files
committed
Change VNU back to latest and add some better logging.
1 parent e86edf3 commit 8e2749f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/jobs/webstandard.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [ "$TEST" = "w3cval" ]; then
117117
118118
section_start "Install testsuite"
119119
cd "$DIR"
120-
wget https://github.com/validator/validator/releases/download/20.6.30/vnu.linux.zip
120+
wget https://github.com/validator/validator/releases/download/latest/vnu.linux.zip
121121
unzip -q vnu.linux.zip
122122
section_end
123123
@@ -128,7 +128,7 @@ if [ "$TEST" = "w3cval" ]; then
128128
# shellcheck disable=SC2086
129129
"$DIR"/vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format json $FLTR "$URL" 2> result.json
130130
# shellcheck disable=SC2086
131-
NEWFOUNDERRORS=$("$DIR"/vnu-runtime-image/bin/vnu --errors-only --exit-zero-always --skip-non-$typ --format gnu $FLTR "$URL" 2>&1 | wc -l)
131+
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)
132132
FOUNDERR=$((NEWFOUNDERRORS+FOUNDERR))
133133
python3 -m "json.tool" < result.json > "$ARTIFACTS/w3c$typ$URL.json"
134134
trace_off; python3 .github/jobs/jsontogha.py "$ARTIFACTS/w3c$typ$URL.json"; trace_on

0 commit comments

Comments
 (0)