Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add SmtpService test to Github Action after docker build (#111)

Leendert de Borst953e45f62eb6
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.yml
index 9fe769c0e..1047d4dce 100644
--- a/.github/workflows/docker-compose-build.yml
+++ b/.github/workflows/docker-compose-build.yml
@@ -47,3 +47,14 @@ jobs:
else
echo "Service responded with $http_code"
fi
+ - name: Test if localhost:2525 (Email Service) responds
+ - name: Test if SmtpService responds
+ run: |
+ # Test if the service on localhost:25 responds
+ response=$(curl -s --connect-timeout 5 localhost:2525)
+ if [ -z "$response" ]; then
+ echo "SmtpService did not respond on port 25. Check if the SmtpService service is running."
+ exit 1
+ else
+ echo "SmtpService responded on port 25"
+ fi