chore(ci): change the Test step to terminate with error in the federation test (#15903)

* chore(ci): change the Test step to terminate with error in the federation test

* chore(ci): always stop servers in the federation test
This commit is contained in:
zyoshoka 2025-04-28 18:31:13 +09:00 committed by GitHub
parent 01230f6990
commit c3b9a5346f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -71,18 +71,16 @@ jobs:
docker compose logs | tail -n 300
exit 1
- name: Test
id: test
continue-on-error: true
run: |
cd packages/backend/test-federation
docker compose run --no-deps tester
- name: Log
if: ${{ steps.test.outcome == 'failure' }}
if: always()
run: |
cd packages/backend/test-federation
docker compose logs
exit 1
- name: Stop servers
if: always()
run: |
cd packages/backend/test-federation
docker compose down