mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 22:25:59 +00:00
try to uncomment mysql tests
This commit is contained in:
9
.github/workflows/integration-tests.yaml
vendored
9
.github/workflows/integration-tests.yaml
vendored
@@ -23,6 +23,7 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd integration-tests
|
cd integration-tests
|
||||||
|
yarn wait:ci
|
||||||
yarn test:ci
|
yarn test:ci
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@@ -36,10 +37,10 @@ jobs:
|
|||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
# mysql:
|
mysql:
|
||||||
# image: mysql
|
image: mysql
|
||||||
# env:
|
env:
|
||||||
# MYSQL_ROOT_PASSWORD: Pwd2020Db
|
MYSQL_ROOT_PASSWORD: Pwd2020Db
|
||||||
|
|
||||||
mssql:
|
mssql:
|
||||||
image: mcr.microsoft.com/mssql/server
|
image: mcr.microsoft.com/mssql/server
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const engines = [
|
|||||||
server: 'localhost',
|
server: 'localhost',
|
||||||
port: 15001,
|
port: 15001,
|
||||||
},
|
},
|
||||||
skipOnCI: true,
|
// skipOnCI: true,
|
||||||
objects: [views],
|
objects: [views],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,8 +10,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"wait:local": "cross-env DEVMODE=1 LOCALTEST=1 node wait.js",
|
"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: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"
|
"run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user