chore(deps): bump actions/checkout from 4 to 6 #12
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Allow manual trigger for cross-repo testing. | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| name: E2E Integration Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout main repo | |
| uses: actions/checkout@v6 | |
| - name: Checkout relay | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: agentanycast/agentanycast-relay | |
| path: agentanycast-relay | |
| - name: Checkout node | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: agentanycast/agentanycast-node | |
| path: agentanycast-node | |
| - name: Checkout proto | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: agentanycast/agentanycast-proto | |
| path: agentanycast-proto | |
| - name: Checkout python SDK | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: agentanycast/agentanycast-python | |
| path: agentanycast-python | |
| # Proto code generation for Go builds. | |
| - uses: bufbuild/buf-setup-action@v1 | |
| with: | |
| github_token: ${{ github.token }} | |
| - name: Generate Go code from proto | |
| working-directory: agentanycast-proto | |
| run: buf generate | |
| - name: Configure node proto replace | |
| working-directory: agentanycast-node | |
| run: go mod edit -replace github.com/agentanycast/agentanycast-proto=../agentanycast-proto | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Run E2E tests via Docker Compose | |
| working-directory: tests | |
| run: | | |
| docker compose -f docker-compose.test.yml up \ | |
| --build \ | |
| --abort-on-container-exit \ | |
| --exit-code-from test-runner | |
| - name: Collect logs on failure | |
| if: failure() | |
| working-directory: tests | |
| run: docker compose -f docker-compose.test.yml logs |