Always kill server
This commit is contained in:
parent
63a2079773
commit
c638ded53a
1 changed files with 7 additions and 0 deletions
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue