procrastinate icon indicating copy to clipboard operation
procrastinate copied to clipboard

Fail CI when migrations are targetting the wrong version

Open ewjoachim opened this issue 5 years ago • 0 comments
trafficstars

It would be nice if the CI could fail when a PR contains migration files whose name reference a procrastinate version (a.k.a git tag) that is not the latest. This would avoid things like #250.

This would probably either be a test implemented in pytest, or a short script in a new bin folder, alongside a tox target or integrated in check-lint. Whatever feels the most natural to the implementer.

ewjoachim avatar Jun 17 '20 07:06 ewjoachim