mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
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:
8
.github/actions/run-backend-tests/action.yml
vendored
8
.github/actions/run-backend-tests/action.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/ci-backend.yml
vendored
2
.github/workflows/ci-backend.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user