ci(temporal): add logging to backend tests for docker compose (#16072)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Harry Waye
2023-06-15 11:52:33 +01:00
committed by GitHub
parent baaa3beb26
commit b9d45de99a
2 changed files with 8 additions and 2 deletions

View File

@@ -85,7 +85,8 @@ runs:
- name: Wait for Temporal
shell: bash
run: bin/check_temporal_up
run: |
bin/check_temporal_up
- name: Determine if --snapshot-update should be on
# Skip on forks (due to GITHUB_TOKEN being read-only in PRs coming from them) except for persons-on-events
@@ -120,6 +121,11 @@ runs:
--durations=100 --durations-min=1.0 --store-durations \
$PYTEST_ARGS
- name: Show docker compose log
if: ${{ always() }}
shell: bash
run: docker compose -f docker-compose.dev.yml logs --tail=5000
# Post-tests
- name: Upload updated timing data as artifacts

View File

@@ -64,7 +64,7 @@ jobs:
- frontend/src/queries/schema.json # Used for generating schema.py
# Make sure we run if someone is explicitly change the workflow
- .github/workflows/ci-backend.yml
- .github/workflows/backend-tests-action/action.yml
- .github/actions/run-backend-tests/action.yml
# We use docker compose for tests, make sure we rerun on
# changes to docker-compose.dev.yml e.g. dependency
# version changes