forked from deblan/database-anonymizer
[wip] add run tests
This commit is contained in:
parent
5c8c8a0037
commit
1c9cf2629c
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ steps:
|
||||||
"Fill MySQL":
|
"Fill MySQL":
|
||||||
image: *mysql_image
|
image: *mysql_image
|
||||||
commands:
|
commands:
|
||||||
- mysql test < tests/mysql_data.sql
|
- mysql -hservice-mysql -uroot test < tests/mysql_data.sql
|
||||||
|
|
||||||
"Run tests":
|
"Run tests":
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ func TestAppRun(t *testing.T) {
|
||||||
schema, _ := config.LoadSchemaConfigFromFile("../tests/schema.yml")
|
schema, _ := config.LoadSchemaConfigFromFile("../tests/schema.yml")
|
||||||
|
|
||||||
dsns := []string{
|
dsns := []string{
|
||||||
"mysql://tcp(service-mysql)/test",
|
"mysql://root@tcp(service-mysql)/test",
|
||||||
// "postgres://postgres@tcp(service-postgres)/test",
|
// "postgres://postgres@tcp(service-postgres)/test",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue