Skip to content

Commit 6f9b97e

Browse files
author
Dante
committed
fix(ci): add xvfb for VS Code tests in headless environment
1 parent 2589280 commit 6f9b97e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: npm ci
2525

2626
- name: Run tests
27-
run: npm test
27+
run: xvfb-run -a npm test
2828

2929
- name: Compile extension
3030
run: npm run compile

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: npm ci
2424

2525
- name: Run tests
26-
run: npm test
26+
run: xvfb-run -a npm test
2727

2828
- name: Compile extension
2929
run: npm run compile

0 commit comments

Comments
 (0)