Skip to content

Commit 7b9a437

Browse files
committed
Fix Linux CI smoke test configuration
1 parent fe8c933 commit 7b9a437

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,13 @@ jobs:
8080
USE_SYSTEM_FPM: ${{ matrix.platform == 'linux' && matrix.arch == 'arm64' }}
8181

8282
- name: Run smoke tests
83-
run: npm test
83+
run: |
84+
if [ "$RUNNER_OS" == "Linux" ]; then
85+
xvfb-run --auto-servernum npm test
86+
else
87+
npm test
88+
fi
89+
shell: bash
8490

8591
- uses: actions/upload-artifact@v4
8692
with:

0 commit comments

Comments
 (0)