Skip to content

ci: install and import smoke on 3.11 and 3.14 - #37

Open
aaronelliotross wants to merge 1 commit into
mainfrom
ci-smoke-gate
Open

aaronelliotross wants to merge 1 commit into
mainfrom
ci-smoke-gate

Conversation

@aaronelliotross

Copy link
Copy Markdown
Contributor

keanu moves from tier 3 to tier 1 in dependency-policy/tiers.yml: kabona and zenbaki use the fixed tag @v0.19.0, so a merge to main reaches no consumer until someone tags a release. Auto-merge needs a check worth waiting on, and ci is python-pins only today.

This PR turns ci into that check. It is still one job named ci, so the main-branch rule has one context to require. On Python 3.11 (zenbaki) and 3.14 (kabona) it:

  1. runs python-pins, as before;
  2. runs uv sync --locked (the environment a Dependabot bump actually changes), imports all 19 keanu.* modules and runs keanu.py --help;
  3. runs uv pip install . into a fresh venv the way the consumers install it, then runs keanu --help from outside the checkout and checks that helpers/last_sync.sql ships as package data.

What it does not cover: the loaders. They need MySQL fixtures, and keanu/test.py is the ETL test runner, not a unit suite. So this catches a bump that stops installing or importing, not a change in behaviour.

setup-uv is pinned to the exact v10.3.3 because the action has no floating major tag past v7 (same pin as sentiment-analysis).

Ran the step locally on both interpreters: all passed. actionlint is clean.

Not in this PR (follows after review): the main-branch rule requiring ci, allow_auto_merge, the dependabot-auto-merge.yml caller, and the tier 1 dependabot.yml.

Written with Claude Code.

Turns the python-pins-only job into a gate that auto-merge can wait on
(moving to tier 1 in WeMoveEU/dependency-policy). Syncs the locked
environment, imports every keanu module and starts the CLI, then installs
the package the way kabona and zenbaki do and checks helpers/*.sql ships.

Written with Claude Code.
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