mirror of
https://github.com/karust/openserp.git
synced 2026-08-15 05:04:16 +08:00
Add CI and integration workflows
This commit is contained in:
27
.github/workflows/integration.yml
vendored
Normal file
27
.github/workflows/integration.yml
vendored
Normal 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 ./...
|
||||
Reference in New Issue
Block a user