Files
postgresql-tenant-operator/.github/workflows/test.yml
T
panxiao81 c5746130bf
E2E Tests / Run on Ubuntu (pull_request) Failing after 52s
Tests / Run on Ubuntu (pull_request) Failing after 7m49s
Lint / Run on Ubuntu (pull_request) Successful in 8m55s
ci: 运行 PostgreSQL adapter 集成测试
2026-09-10 09:30:58 +00:00

42 lines
878 B
YAML

name: Tests
on:
push:
branches:
- main
pull_request:
permissions: {}
jobs:
test:
permissions:
contents: read
name: Run on Ubuntu
runs-on: self-hosted
steps:
- name: Clone the code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
- name: Running Tests
run: |
go mod tidy
make test
- name: Running PostgreSQL Integration Tests
run: make test-integration
- name: Clean up Integration Dependencies
if: always()
run: make dev-down
- name: Verify generated files and modules are current
run: git diff --exit-code