8000 Run migration tests in a non-`public` schema as part of CI by andrew-farries · Pull Request #279 · xataio/pgroll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Run migration tests in a non-public schema as part of CI #279

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? 8000 Sign in to your account

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

andrew-farries
Copy link
Collaborator

Add another dimension to the test matrix so that migration tests are run in both the public and a non-public schema.

#276 made it possible to run migration tests in schema other than public. Doing so highlighted some issues that are fixed by #278.

Fixes #273.

Base automatically changed from fix-unique-drop-in-non-public-schema to main February 7, 2024 12:08
@andrew-farries andrew-farries force-pushed the run-non-public-schema-tests-in-ci branch from b3d115c to 35c3a2e Compare February 7, 2024 12:09
Run the tests twice for each pg version; once applying migrations in the
`public` schema and once in the `non_public` schema.
Run the examples twice for each pg version; once applying migrations in
the `public` schema and once in the `non_public` schema.
Don't cancel other jobs in the matrix when one fails.
@andrew-farries andrew-farries force-pushed the run-non-public-schema-tests-in-ci branch from 35c3a2e to 361a274 Compare February 7, 2024 12:17
@andrew-farries andrew-farries merged commit 889946b into main Feb 7, 2024
@andrew-farries andrew-farries deleted the run-non-public-schema-tests-in-ci branch February 7, 2024 12:28
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.

UNIQUE constraints are dropped by migrations in non-public schemas
2 participants
0