Skip to content

Commit 829e65f

Browse files
authored
Update test.yml
1 parent 3b76be0 commit 829e65f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,18 @@ jobs:
105105
- *setup-node
106106
- *ci
107107
- *install
108+
- name: Start Xvfb
109+
run: /usr/bin/Xvfb :17 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
110+
shell: bash
111+
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
108112
- &run-smoke-tests
109113
name: Run Smoke tests
110114
run: npm run test-smoke
111115
env:
112116
MLM_WEB_LICENSE: true
113117
MLM_WEB_ID: ${{ secrets.MLM_WEB_ID }}
114118
MLM_WEB_USER_CRED: ${{ secrets.MLM_WEB_USER_CRED }}
119+
DISPLAY: ":17.0"
115120
- &upload-ubuntu-SS
116121
name: Upload Screenshots
117122
uses: actions/upload-artifact@v4
@@ -202,6 +207,7 @@ jobs:
202207
MLM_WEB_LICENSE: true
203208
MLM_WEB_ID: ${{ secrets.MLM_WEB_ID }}
204209
MLM_WEB_USER_CRED: ${{ secrets.MLM_WEB_USER_CRED }}
210+
DISPLAY: ":17.0"
205211
- *upload-ubuntu-SS
206212

207213
test-ui-windows:

0 commit comments

Comments
 (0)