Files
MusicServer/.gitea/workflows/integration-tests.yaml
T
Sansan bd250ecaee
Build / test (push) Successful in 38s
Build / docker (push) Successful in 2m2s
Run tests in CI and build multi-arch Docker images
- Build (main, develop): vet and unit tests, then a linux/amd64 and
  linux/arm64 image build without pushing
- Publish (version branches): same tests, then build and push both
  platforms
- Integration tests (manual): run the testcontainers suite
2026-10-06 15:22:13 +02:00

19 lines
513 B
YAML

name: Integration Tests
on:
workflow_dispatch: # Manual trigger only
jobs:
integration-test:
# Needs access to a Docker daemon: the tests start PostgreSQL with testcontainers.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Generate templ components
run: go tool templ generate
- name: Integration tests
run: go test -tags integration -race -timeout 15m ./...