Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

ci: run postgres service to unblock checkpointer E2E coverage

xf gong163527f49c01
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4adbca1..ba97d2d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,24 @@ jobs:
python-version: ["3.11", "3.12", "3.13", "3.14"]
continue-on-error: ${{ matrix.python-version == '3.14' }}
+ services:
+ postgres:
+ image: postgres:16
+ env:
+ POSTGRES_USER: postgres
+ POSTGRES_PASSWORD: postgres
+ POSTGRES_DB: postgres
+ ports:
+ - 5432:5432
+ options: >-
+ --health-cmd "pg_isready -U postgres"
+ --health-interval 5s
+ --health-timeout 5s
+ --health-retries 10
+
+ env:
+ CUBEPI_TEST_PG_DSN: postgresql://postgres:postgres@localhost:5432/postgres
+
steps:
- uses: actions/checkout@v6