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.
2 parents 21bc1bb + 264cdc8 commit b0433c3Copy full SHA for b0433c3
.github/workflows/test.yml
@@ -20,17 +20,20 @@ jobs:
20
steps:
21
- name: Checkout repository
22
uses: actions/checkout@v2
23
-
24
- - name: Set up Node.js
25
- uses: actions/setup-node@v2
26
- with:
27
- node-version: ${{ matrix.node-version }}
28
+ - name: Set up Xvfb
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y xvfb
+ Xvfb :99 -screen 0 1024x768x24 &
+ export DISPLAY=:99
29
+ sleep 3
30
+ - name: Checkout code
31
+ uses: actions/checkout@v2
32
- name: Install dependencies
33
run: npm install
34
- name: Compile the extension
35
run: npm run compile
36
- name: Run tests
37
+ env:
38
+ DISPLAY: :99
39
run: npm test
0 commit comments