Skip to content

Commit 9734102

Browse files
committed
ci: skip macOS integration tests (arm64 VS Code launch fails)
1 parent f856668 commit 9734102

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,17 @@ jobs:
3737
- name: Test (unit)
3838
run: npm test
3939

40+
# Integration tests launch a real VS Code host. We run them on Linux (via
41+
# xvfb) and Windows. macOS is skipped: the arm64 macos-latest runners fail
42+
# to launch the downloaded VS Code app bundle ("spawn ... Electron ENOENT"),
43+
# a known @vscode/test-electron issue. macOS shares Linux's POSIX code path,
44+
# so unit tests above still cover it.
4045
- name: Test (integration, Linux)
4146
if: runner.os == 'Linux'
4247
run: xvfb-run -a npm run test:integration
4348

44-
- name: Test (integration, Windows/macOS)
45-
if: runner.os != 'Linux'
49+
- name: Test (integration, Windows)
50+
if: runner.os == 'Windows'
4651
run: npm run test:integration
4752

4853
package:

0 commit comments

Comments
 (0)