docker container.run now receives boolean flag isCI
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
9a47bdafbe
commit
526bc99c4f
|
@ -8,14 +8,14 @@ process.on('warning', warning => {
|
|||
});
|
||||
|
||||
async function test() {
|
||||
let verbose = false;
|
||||
let isCI = false;
|
||||
|
||||
if (process.argv[2] === 'ci')
|
||||
verbose = true;
|
||||
isCI = true;
|
||||
|
||||
const container = new Docker();
|
||||
|
||||
await container.run(process.argv.ci);
|
||||
await container.run(isCI);
|
||||
dataSources = JSON.parse(JSON.stringify(dataSources));
|
||||
|
||||
Object.assign(dataSources.vn, {
|
||||
|
@ -45,8 +45,8 @@ async function test() {
|
|||
|
||||
jasmine.addReporter(new SpecReporter({
|
||||
spec: {
|
||||
displaySuccessful: verbose,
|
||||
displayPending: verbose
|
||||
displaySuccessful: isCI,
|
||||
displayPending: isCI
|
||||
},
|
||||
summary: {
|
||||
displayPending: false,
|
||||
|
|
Loading…
Reference in New Issue