Skip to content

Commit 352381e

Browse files
committed
build: run tests with xvfb for headless execution
1 parent d805b45 commit 352381e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- run: pnpm i
3737
- run: pnpm build
3838
- run: pnpm lint
39-
- run: pnpm test
39+
- run: xvfb-run -a pnpm test
4040
- run: pnpm --filter @google-workspace/vscode-extension run ci:package
4141
- run: |
4242
git config --global user.name "googleworkspace-bot"

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
- run: pnpm i
3131
- run: pnpm build
3232
- run: pnpm lint
33-
- run: pnpm test
33+
- run: xvfb-run -a pnpm test
3434
- run: pnpm --filter @google-workspace/vscode-extension run ci:package

0 commit comments

Comments
 (0)