feat: migrate to 4-job CI pipeline with tests #3

Merged
jcabillot merged 9 commits from feat/gitea-actions-v2 into master 2026-06-08 18:46:53 -04:00
Showing only changes of commit 074d1ec402 - Show all commits
+2 -2
View File
@@ -71,12 +71,12 @@ if [ "$READY" = false ]; then
fi
# Test 1: HTTP status
STATUS=$(curl -sf -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
echo "HTTP status: $STATUS"
assert_eq "HTTP 200" "200" "$STATUS"
# Test 2: Content-Type contains text/html
curl -sf -o /dev/null -D "$TMPDIR/headers" "$BASE_URL/"
curl -s -o /dev/null -D "$TMPDIR/headers" "$BASE_URL/"
assert_contains "Content-Type text/html" "text/html" "$TMPDIR/headers"
# Test 3: Body contains HTML