This commit is contained in:
Jan Prochazka 2021-05-27 12:04:13 +02:00
parent e6a6534887
commit 55ad3a05e4
2 changed files with 10 additions and 9 deletions

View File

@ -23,12 +23,13 @@ jobs:
- name: Run tests
run: |
cd integration-tests
yarn run:all
yarn wait
yarn test
services:
postgres:
image: postgres
environment:
env:
POSTGRES_PASSWORD: Pwd2020Db
ports:
- 15000:5432
@ -38,17 +39,17 @@ jobs:
command: --default-authentication-plugin=mysql_native_password
ports:
- 15001:3306
environment:
- MYSQL_ROOT_PASSWORD=Pwd2020Db
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
mssql:
image: mcr.microsoft.com/mssql/server
ports:
- 15002:1433
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Pwd2020Db
- MSSQL_PID=Express
env:
ACCEPT_EULA: Y
SA_PASSWORD: Pwd2020Db
MSSQL_PID: Express
cockroachdb:
image: cockroachdb/cockroach

View File

@ -11,7 +11,7 @@
"scripts": {
"wait": "cross-env DEVMODE=1 node wait.js",
"test": "cross-env DEVMODE=1 jest --runInBand",
"run:all": "docker-compose down && docker-compose up -d && yarn wait && yarn test"
"run:local": "docker-compose down && docker-compose up -d && yarn wait && yarn test"
},
"devDependencies": {
"cross-env": "^7.0.3",