From 75c964c74722b7b2b93aa179519f8c68c4479bfe Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 13 Oct 2026 18:48:58 +0200 Subject: [PATCH] CI: run the unit tests on every PR The offline unit tests ran only in the release workflow, after a tag was pushed, so 0.3.0's version left behind in sqlalchemy_seerdb/__init__.py passed PR CI and failed only on the tag. The Package job now runs them too, on every Python in its matrix, as AGENTS.md already said it did. Closes #28 Co-Authored-By: Claude Opus 5.5 (1M context) Signed-off-by: Peter Lemenkov --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0d7cdaf..5e904cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,6 +80,11 @@ jobs: assert isinstance(args['timeout'], int), 'query args must be coerced' print('entry point OK:', dialect.__module__ + '.' + dialect.__name__) PY + # The offline unit tests, the same run the release workflow gates on. + # Run here too, a defect they catch (a version left behind in one of its + # two places, as 0.3.0's was) fails the PR instead of the tag (#28). + - name: Unit tests + run: python -m unittest -v # SQLAlchemy names its dialect compliance suite as the target for third-party # dialects, so it is what this repo tests against. It is entirely