mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
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:
6
.github/workflows/test-federation.yml
vendored
6
.github/workflows/test-federation.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user