Skip to content

Add nodb and sqlite-v2 workflows and the testing conventions guide - #11

Merged
nicoloesch merged 3 commits into
mainfrom
10-test-workflows
Nov 19, 2026
Merged

nicoloesch merged 3 commits into
mainfrom
10-test-workflows

Conversation

@nicoloesch

Copy link
Copy Markdown
Collaborator

Summary

  • Adds build-test-nodb.yml, which runs every test that carries none of the routing marks. The exclude-markers input names the marks to exclude and defaults to sqlite or duckdb or postgresql.
  • Adds build-test-sqlite-v2.yml, which runs -m sqlite by default. A markers input selects another mark, for example sqlitevec.
  • Adds a markers input to build-test-postgres-v3.yml (default postgresql). build-test-duckdb.yml already had one.
  • The dialect workflows now run plain pytest, so a job that collects no tests fails. A repo only calls the workflows for marks it has tests for.
  • Adds docs/guides/testing-conventions.md, with the rules, the fixtures, the session-scoped pattern, the CI jobs, the ruff TID251 config and the warning about mixing dialects in one process.
  • Adds workflow pages for the new workflows and marks the superseded ones in the index.

Rollout

  • The test-convention PRs in the six base-stack repos call these workflows at @main, so this must merge first.
  • No existing caller needs a change. hemonc-alchemy calls build-test-duckdb.yml with markers: duckdb only.
  • Each repo's own issue tracks its migration, and the required checks are added to the rulesets after those PRs merge.

@nicoloesch
nicoloesch merged commit 286815b into main Nov 19, 2026
@nicoloesch
nicoloesch deleted the 10-test-workflows branch November 19, 2026 04:19
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.

Standardise the test setup across repos

2 participants