go/.github/workflows/ci.yml
Snider 01135ac8bd docs: rewrite README + add CI workflow with Codecov
README reflects current API — DI framework, not the old CLI/GUI app.
CI runs tests with coverage on push to main.

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

23 lines
429 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 ./tests/...
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage.out