docker container.run now receives boolean flag isCI
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Carlos Jimenez Ruiz 2022-05-12 13:51:31 +02:00
parent 9a47bdafbe
commit 526bc99c4f
1 changed files with 5 additions and 5 deletions

View File

@ -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,