summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--.github/workflows/test-federation.yml16
2 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a34ac38d74..b1d52e8b3b 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -79,7 +79,7 @@ jobs:
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Restore eslint cache
- uses: actions/cache@v4.2.1
+ uses: actions/cache@v4.2.2
with:
path: ${{ env.eslint-cache-path }}
key: eslint-${{ env.eslint-cache-version }}-${{ matrix.workspace }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.ref_name }}-${{ github.sha }}
diff --git a/.github/workflows/test-federation.yml b/.github/workflows/test-federation.yml
index e7b5d7b098..0b71325de3 100644
--- a/.github/workflows/test-federation.yml
+++ b/.github/workflows/test-federation.yml
@@ -62,14 +62,30 @@ jobs:
bash ./setup.sh
sudo chmod 644 ./certificates/*.test.key
- name: Start servers
+ id: start_servers
+ continue-on-error: true
# https://github.com/docker/compose/issues/1294#issuecomment-374847206
run: |
cd packages/backend/test-federation
docker compose up -d --scale tester=0
+ - name: Print start_servers error
+ if: ${{ steps.start_servers.outcome == 'failure' }}
+ run: |
+ cd packages/backend/test-federation
+ 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' }}
+ run: |
+ cd packages/backend/test-federation
+ docker compose logs
+ exit 1
- name: Stop servers
run: |
cd packages/backend/test-federation