-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(dev): alembic check #16483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(dev): alembic check #16483
Conversation
Upon review, we added the ability to skip the check if a label is applied, and thus make this a required check. |
a715fa5
to
8b6c464
Compare
Implements wrapper for `check` command. Refs: https://alembic.sqlalchemy.org/en/latest/autogenerate.html#running-alembic-check-to-test-for-new-upgrade-operations Refs: https://alembic.sqlalchemy.org/en/latest/api/commands.html#alembic.command.check Signed-off-by: Mike Fiedler <[email protected]>
Signed-off-by: Mike Fiedler <[email protected]>
Signed-off-by: Mike Fiedler <[email protected]>
9022510
to
2a60833
Compare
You can see a failing run here, where I introduce a code change that has no associated migration. |
Signed-off-by: Mike Fiedler <[email protected]>
Implements wrapper for
check
command.Refs: https://alembic.sqlalchemy.org/en/latest/autogenerate.html#running-alembic-check-to-test-for-new-upgrade-operations
Refs: https://alembic.sqlalchemy.org/en/latest/api/commands.html#alembic.command.check
Signed-off-by: Mike Fiedler [email protected]