We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffecbe commit 01727dcCopy full SHA for 01727dc
.github/workflows/test.yml
@@ -49,7 +49,18 @@ jobs:
49
if: steps.cache.outputs.cache-hit != 'true'
50
run: npm install
51
52
+ - name: Run tests with xvfb
53
+ if: runner.os == 'Linux'
54
+ run: |
55
+ sudo apt-get update
56
+ sudo apt-get install -y xvfb
57
+ composer run assets --working-dir=build
58
+ xvfb-run -a npm test
59
+ env:
60
+ DISPLAY: ':99'
61
+
62
- name: Run tests
63
+ if: runner.os != 'Linux'
64
run: |
65
composer run assets --working-dir=build
66
npm run test
package.json
@@ -6,7 +6,7 @@
6
"scripts": {
7
"start": "electron-vite preview",
8
"test": "electron-vite build && playwright test"
9
- },
+ },
10
"author": "Drupal Association",
11
"license": "MIT",
12
"devDependencies": {
0 commit comments