1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Enhance the test for forbidden Schema changes (#815)

* Enhance the test for forbidden Schema changes

Current test is git-based. It is difficult to maintain and does not
catch out-of-order version numbers. It is also more aggressive than
necessary, failing on changes to submitted scripts that have not been
deployed yet.

The new test starts a database, deploys the current schema to it,
then deploys the set of Flyway scripts in this repository to the database.
This commit is contained in:
Weimin Yu
2020-09-24 12:31:08 -04:00
committed by GitHub
parent 1056fdbb64
commit 553d5717cb
7 changed files with 115 additions and 22 deletions

View File

@@ -24,6 +24,7 @@ dbName=postgres
dbUser=
dbPassword=
publish_repo=
baseSchemaTag=
schema_version=
nomulus_version=
dot_path=/usr/bin/dot