0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

ci: always show logs for integration tests (#4471)

This commit is contained in:
Gao Sun 2023-09-12 10:04:44 +08:00 committed by GitHub
parent 9644fa0615
commit 62822a1d7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,16 +112,17 @@ jobs:
# Test # Test
- name: Run tests - name: Run tests
# continue-on-error: true # Uncomment this line to debug
run: | run: |
cd tests/packages/integration-tests cd tests/packages/integration-tests
pnpm build pnpm build
pnpm run test:${{ matrix.target }} pnpm run test:${{ matrix.target }}
- name: Show logs - name: Show logs
if: always()
working-directory: logto/ working-directory: logto/
run: cat nohup.out run: cat nohup.out
- name: Show error logs - name: Show error logs
if: always()
working-directory: logto/ working-directory: logto/
run: cat nohup.err run: cat nohup.err