Fix E2E test cleanup errors and timeouts #605
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: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Project | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.3" | |
| - name: Install Linters | |
| run: | | |
| go install github.com/mgechev/revive@latest | |
| go install honnef.co/go/tools/cmd/staticcheck@latest | |
| - name: Set up Goreleaser | |
| uses: goreleaser/goreleaser-action@v6 | |
| with: | |
| install-only: true | |
| - name: Lint | |
| run: make lint | |
| - name: Check Code Formatting | |
| run: make format-check | |
| - name: Test (with race detector) | |
| run: make test-race | |
| - name: Build Dist | |
| run: make build-dist-snapshot | |
| - name: Run Platform Tests | |
| shell: bash | |
| env: | |
| DIGITALOCEAN_API_TOKEN: test-key | |
| SERVICES: apps | |
| LOG_LEVEL: debug | |
| run: | | |
| set -e | |
| OUTPUT=$(npx ./scripts/npm --log-level debug test-key 2>&1 || true) | |
| echo "$OUTPUT" | |
| echo "$OUTPUT" | grep -q "starting MCP server" |