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

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run E2E tests
run: make e2e-test
- 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