[chore] Replace Fatal calls with stretch/assert #44
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: Build and Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build all services | |
| run: make build | |
| - name: Run unit tests | |
| run: make test || echo "No tests found yet" | |
| - name: Start all servers | |
| run: make start-servers | |
| - name: Run service integration tests | |
| run: make integration-test | |
| - name: Run end-to-end tests | |
| run: make e2e-test | |
| - name: Stop servers | |
| if: always() | |
| run: make stop-servers | |
| - name: Display server logs on failure | |
| if: failure() | |
| run: | | |
| echo "=== Gateway logs ===" | |
| cat /tmp/gateway.log || echo "No gateway logs found" | |
| echo "" | |
| echo "=== Orchestrator logs ===" | |
| cat /tmp/orchestrator.log || echo "No orchestrator logs found" | |
| echo "" | |
| echo "=== Speculator logs ===" | |
| cat /tmp/speculator.log || echo "No speculator logs found" |