3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Docker versioning for Renovate pins, fail the gate on zero tests, refresh status line

This commit is contained in:
2026-08-24 00:01:20 +02:00
parent a5f87e4204
commit 00c6d46f11
3 changed files with 16 additions and 8 deletions
+7 -1
View File
@@ -7,4 +7,10 @@ in_node() { docker run --rm -u "$(id -u):$(id -g)" -e HOME=/tmp -v "$PWD:/app" -
in_node npm ci
in_node npm run typecheck
in_node npm test
test_output=$(in_node npm test)
printf '%s\n' "$test_output"
if printf '%s' "$test_output" | grep -q 'ℹ tests 0'; then
echo 'the gate ran zero tests — failing instead of a vacuous green'
exit 1
fi