|
|
@@ -32,7 +32,7 @@ jobs:
|
|
|
- run: sudo apt update
|
|
|
- run: sudo apt install -y mysql-client
|
|
|
- run: dockerize -wait tcp://127.0.0.1:3306 -timeout 120s
|
|
|
- - run: cat docker/blocks/mysql_tests/setup.sql | mysql -h 127.0.0.1 -P 3306 -u root -prootpass
|
|
|
+ - run: cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h 127.0.0.1 -P 3306 -u root -prootpass
|
|
|
- run:
|
|
|
name: mysql integration tests
|
|
|
command: 'GRAFANA_TEST_DB=mysql go test ./pkg/services/sqlstore/... ./pkg/tsdb/mysql/... '
|
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
- run: sudo apt update
|
|
|
- run: sudo apt install -y postgresql-client
|
|
|
- run: dockerize -wait tcp://127.0.0.1:5432 -timeout 120s
|
|
|
- - run: 'PGPASSWORD=grafanatest psql -p 5432 -h 127.0.0.1 -U grafanatest -d grafanatest -f docker/blocks/postgres_tests/setup.sql'
|
|
|
+ - run: 'PGPASSWORD=grafanatest psql -p 5432 -h 127.0.0.1 -U grafanatest -d grafanatest -f devenv/docker/blocks/postgres_tests/setup.sql'
|
|
|
- run:
|
|
|
name: postgres integration tests
|
|
|
command: 'GRAFANA_TEST_DB=postgres go test ./pkg/services/sqlstore/... ./pkg/tsdb/postgres/...'
|