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>
23 lines
429 B
YAML
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
|