Skip to content

ci: run Ideas Board example integration tests on PRs - #6

Merged
felipeg48 merged 3 commits into
mainfrom
ci/examples-it
Nov 19, 2026
Merged

felipeg48 merged 3 commits into
mainfrom
ci/examples-it

Conversation

@felipeg48

Copy link
Copy Markdown
Contributor

Adds .github/workflows/examples-it.yml — a Testcontainers-backed workflow mirroring the Go library's examples-it.yml.

What

  • Triggers on PRs touching examples/ideas-board/** or the workflow file, on pushes to main, and via workflow_dispatch.
  • ubuntu-latest (ships with Docker) → Testcontainers boots a real CockroachDB, so the tutorial's integration tests run for real.
  • Installs the published packages from the anonymous PEP 503 feed exactly as the docs instruct (pip install -r requirements.txt), then python -m pytest -v.
  • TESTCONTAINERS_RYUK_DISABLED=true.

Coverage

  • Runs: unit tests + 40001 concurrency proof, follower-read, metrics, CDC integration tests.
  • Gated (skip cleanly): REGIONAL BY ROW (needs CRDB_MULTIREGION=true + multi-region cluster) and semantic/vector search (needs a VECTOR-capable image).

No library or demo code changed.

Adds a Testcontainers-backed workflow (ubuntu-latest has Docker) that runs
the examples/ideas-board pytest suite so the tutorial's integration tests
(40001 concurrency, follower reads, metrics, CDC) actually execute. Installs
the published packages from the anonymous PEP 503 feed as the docs instruct.
Multi-region and vector ITs remain gated and skip.
@felipeg48
felipeg48 merged commit 3d20dc1 into main Nov 19, 2026
4 checks passed
@felipeg48
felipeg48 deleted the ci/examples-it branch November 19, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant