Skip to content

refactor(test): consolidate testing infrastructure with Docker Compose #1

refactor(test): consolidate testing infrastructure with Docker Compose

refactor(test): consolidate testing infrastructure with Docker Compose #1

name: Integration Tests - Orchestrator Service
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
test-orchestrator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Orchestrator integration tests
run: make integration-test-orchestrator
- name: Display container logs on failure
if: failure()
run: |
echo "=== Listing all Docker containers ==="
docker ps -a --filter "name=sq-test-" || true
echo ""
echo "=== Dumping container logs ==="
for container in $(docker ps -a --filter "name=sq-test-" --format "{{.Names}}"); do
echo ">>> Logs for $container <<<"
docker logs "$container" 2>&1 || true
echo ""
done