try to uncomment mysql tests

This commit is contained in:
Jan Prochazka 2021-05-27 15:51:54 +02:00
parent 73d8ad36ad
commit e2c313af66
3 changed files with 10 additions and 6 deletions

View File

@ -23,6 +23,7 @@ jobs:
- name: Run tests
run: |
cd integration-tests
yarn wait:ci
yarn test:ci
services:
@ -36,10 +37,10 @@ jobs:
--health-timeout 5s
--health-retries 5
# mysql:
# image: mysql
# env:
# MYSQL_ROOT_PASSWORD: Pwd2020Db
mysql:
image: mysql
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
mssql:
image: mcr.microsoft.com/mssql/server

View File

@ -20,7 +20,7 @@ const engines = [
server: 'localhost',
port: 15001,
},
skipOnCI: true,
// skipOnCI: true,
objects: [views],
},
{

View File

@ -10,8 +10,11 @@
"license": "MIT",
"scripts": {
"wait:local": "cross-env DEVMODE=1 LOCALTEST=1 node wait.js",
"test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand",
"wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js",
"test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest",
"test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand",
"run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local"
},
"devDependencies": {