Try GabrielBB/xvfb to run vscode tests

This commit is contained in:
vsrs 2020-05-23 16:13:47 +03:00 committed by GitHub
parent bddbe16d93
commit 12ea4a2ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,17 +116,11 @@ jobs:
- run: npm run lint
working-directory: ./editors/code
- name: Start xvfb
run: |
sudo apt-get install xvfb
set -e
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
disown -ar
- run: npm test
working-directory: ./editors/code
env:
DISPLAY: :10
- name: Run vscode tests
uses: GabrielBB/xvfb-action@v1.2
with:
run: npm test
working-directory: ./editors/code
- run: npm run package --scripts-prepend-node-path
working-directory: ./editors/code