Always kill server

This commit is contained in:
Andras Schmelczer 2025-12-14 10:55:46 +00:00
parent 8aba8ee44a
commit 1b71f3e780

View file

@ -47,9 +47,16 @@ jobs:
run: |
cd sync-server
cargo run config-e2e.yml --color never &
SERVER_PID=$!
cd ..
scripts/e2e.sh 8
EXIT_CODE=$?
kill $SERVER_PID 2>/dev/null || true
wait $SERVER_PID 2>/dev/null || true
exit $EXIT_CODE
- name: Cleanup
if: always()