Skip to content

Commit f08027c

Browse files
committed
Test GHA test fixes
1 parent 2b688a8 commit f08027c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/build-dev-win64.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
# diagnose weird execution failure
2323
- run: |
2424
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'child_process_1.spawn', 'this.log.step(''Executing ''+command+'' ''+args);child_process_1.spawn' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
25+
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'cwd: this.src,', 'shell: true, cwd: this.src,' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
2526
working-directory: nexe
2627
- run: node build
2728
working-directory: nexe

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- run: npm install --production --ignore-scripts
2929
- run: npm install --production
3030
working-directory: nexe
31+
# workaround issue https://github.com/nodejs/node/issues/52681#issuecomment-2076426887
32+
- run: |
33+
(Get-Content -Path "node_modules/nexe/lib/compiler.js" -Raw) -replace 'cwd: this.src,', 'shell: true, cwd: this.src,' | Set-Content -Path "node_modules/nexe/lib/compiler.js"
34+
working-directory: nexe
3135
- run: node build
3236
working-directory: nexe
3337
- run: nexe\parpar.exe --version

test/par-compare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function par2_args(o) {
222222
return a.concat([o.out], o.in);
223223
}
224224
function parpar_args(o) {
225-
var a = verbose ? [] : ['-q'];
225+
var a = verbose ? ['--json'] : ['-q'];
226226
// TODO: tests for multi file generation
227227
if(o.blockSize) a.push('--input-slices='+o.blockSize+'b');
228228
if(o.inBlocks) a.push('--input-slices='+o.inBlocks);

0 commit comments

Comments
 (0)