Add CI and integration workflows

This commit is contained in:
Rustem Kamalov
2026-04-14 01:04:32 +03:00
parent 9e22f68c6f
commit bc59de46fb
3 changed files with 64 additions and 1 deletions

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

@@ -0,0 +1,27 @@
name: Integration Tests
on:
workflow_dispatch:
permissions:
contents: read
jobs:
integration:
runs-on: ubuntu-latest
env:
OPENSERP_INTEGRATION_TESTS: "1"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.24"
cache: true
- name: Run integration tests
run: go test -race -count=1 -timeout=120s -tags=integration ./...