mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 18:03:58 +00:00
skip some tests on CI
This commit is contained in:
@@ -20,7 +20,7 @@ const engines = [
|
||||
server: 'localhost',
|
||||
port: 15001,
|
||||
},
|
||||
skipOnGithub: true,
|
||||
skipOnCI: true,
|
||||
objects: [views],
|
||||
},
|
||||
{
|
||||
@@ -91,9 +91,9 @@ const engines = [
|
||||
server: 'localhost',
|
||||
port: 15003,
|
||||
},
|
||||
skipOnGithub: true,
|
||||
skipOnCI: true,
|
||||
objects: [views],
|
||||
},
|
||||
];
|
||||
|
||||
module.exports = engines;
|
||||
module.exports = process.env.CITEST ? engines.filter(x => !x.skipOnCi) : engines;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"wait:local": "cross-env DEVMODE=1 LOCALTEST=1 node wait.js",
|
||||
"test": "cross-env DEVMODE=1 jest --runInBand",
|
||||
"test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand",
|
||||
"test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest",
|
||||
"run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user