refactor(test): consolidate testing infrastructure with Docker Compose #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |