Compare commits

..

1 Commits

Author SHA1 Message Date
082edf7501 feat: initial version
Some checks failed
Test Stalwart Installation Action / Error Handling Tests (pull_request) Successful in 21s
Test Stalwart Installation Action / Full Configuration (Domains + Users) (pull_request) Failing after 33s
Test Stalwart Installation Action / Basic Installation (No Config) (pull_request) Successful in 1m11s
Test Stalwart Installation Action / Test Summary (pull_request) Failing after 3s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-15 01:34:15 -05:00

View File

@@ -162,6 +162,22 @@ jobs:
echo "::error::API not accessible after 60 seconds"
exit 1
- name: Verify unauthenticated JMAP access
run: |
echo "Testing unauthenticated JMAP endpoint..."
# Call without authentication
JMAP_RESPONSE=$(curl -sf "http://localhost:8080/.well-known/jmap")
# Verify username is empty (no authentication)
USERNAME=$(echo "$JMAP_RESPONSE" | jq -r '.username // empty')
if [ -z "$USERNAME" ]; then
echo "✓ Unauthenticated access returns empty username"
else
echo "::warning::Expected empty username for unauthenticated request, got '$USERNAME'"
fi
- name: Verify created user can authenticate
run: |
echo "Testing user authentication via JMAP endpoint..."
@@ -199,22 +215,6 @@ jobs:
exit 1
fi
- name: Verify unauthenticated JMAP access
run: |
echo "Testing unauthenticated JMAP endpoint..."
# Call without authentication
JMAP_RESPONSE=$(curl -sf "http://localhost:8080/.well-known/jmap")
# Verify username is empty (no authentication)
USERNAME=$(echo "$JMAP_RESPONSE" | jq -r '.username // empty')
if [ -z "$USERNAME" ]; then
echo "✓ Unauthenticated access returns empty username"
else
echo "::warning::Expected empty username for unauthenticated request, got '$USERNAME'"
fi
- name: Show logs on failure
if: failure()
run: |