Skip to content

Commit 22391b0

Browse files
committed
Add a --skipCheckBinaries arg.
1 parent dfead67 commit 22391b0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/job-compile-and-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ jobs:
4242
run: yarn test
4343
working-directory: Extension
4444

45+
# These tests don't require the binary.
4546
- name: Run SingleRootProject tests
46-
run: yarn test --scenario=SingleRootProject
47+
run: yarn test --scenario=SingleRootProject --skipCheckBinaries
4748
working-directory: Extension
4849

4950
# NOTE : We can't run the test that require the native binary files

Extension/.scripts/common.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ export async function checkDTS() {
334334
}
335335

336336
export async function checkBinaries() {
337+
if ($switches.includes('--skipCheckBinaries')) {
338+
return false;
339+
}
337340
let failing = false;
338341
failing = !await assertAnyFile(['bin/cpptools.exe', 'bin/cpptools']) && (quiet || warn(`The native binary files are not present. You should either build or install the native binaries\n\n.`)) || failing;
339342

0 commit comments

Comments
 (0)