Skip to content

Added cluster clean up for each test case #614

Added cluster clean up for each test case

Added cluster clean up for each test case #614

Workflow file for this run

---
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"