You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: run the unit tests on every PR, not only at release #28
The dialect's offline unit tests (python -m unittest, the test/ modules) run only in the release workflow, after a version tag is pushed. The Tests workflow's Package job runs only the entry-point smoke check.
So a defect the unit tests would catch passes PR CI and shows up only once the release is tagged. 0.3.0 hit exactly this: #26 bumped pyproject.toml but not sqlalchemy_seerdb.__version__. test_version failed in the release workflow on the 0.3.0 tag, the release had to be fixed (#27), and the tag had to move.
AGENTS.md already says "test/test_version.py fails when they drift, and the packaging job runs it". Only the second half was false.
Fix: run the unit tests in the Package job, on every Python in the matrix. It's cheap: they need no database.
Activity
CI: run the unit tests on every PR