Merge: ace-mjyshvac (gt-htlmp.5) - Add CI workflow for integration tests

This commit is contained in:
mayor
2026-01-03 13:53:03 -08:00
committed by beads/crew/dave

36
.github/workflows/integration.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Integration Tests
on:
pull_request:
paths:
- 'internal/cmd/install.go'
- 'internal/cmd/rig.go'
- 'internal/config/**'
- 'internal/routing/**'
- 'internal/cmd/*_integration_test.go'
- '.github/workflows/integration.yml'
jobs:
integration:
name: Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: Configure Git
run: |
git config --global user.name "CI Bot"
git config --global user.email "ci@gastown.test"
- name: Build
run: go build -v ./cmd/gt
- name: Run integration tests
run: go test -v -tags=integration -timeout=4m ./...