mcp/.github/workflows/ci.yml
Snider 7e24efaa85
Some checks failed
CI / test (push) Failing after 3s
docs: update CLAUDE.md for Options{} API + add CI workflow
CLAUDE.md reflects new Options{} constructor, notification
broadcasting, and channel events. CI runs tests with Codecov.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-21 13:53:49 +00:00

26 lines
550 B
YAML

name: CI
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests with coverage
run: |
go test -coverprofile=coverage.out ./pkg/mcp/...
sed -i 's|forge.lthn.ai/core/mcp/||g' coverage.out
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}