mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Try GabrielBB/xvfb to run vscode tests
This commit is contained in:
parent
bddbe16d93
commit
12ea4a2ba2
1 changed files with 5 additions and 11 deletions
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
|
@ -116,17 +116,11 @@ jobs:
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
working-directory: ./editors/code
|
working-directory: ./editors/code
|
||||||
|
|
||||||
- name: Start xvfb
|
- name: Run vscode tests
|
||||||
run: |
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
sudo apt-get install xvfb
|
with:
|
||||||
set -e
|
run: npm test
|
||||||
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
|
|
||||||
disown -ar
|
|
||||||
|
|
||||||
- run: npm test
|
|
||||||
working-directory: ./editors/code
|
working-directory: ./editors/code
|
||||||
env:
|
|
||||||
DISPLAY: :10
|
|
||||||
|
|
||||||
- run: npm run package --scripts-prepend-node-path
|
- run: npm run package --scripts-prepend-node-path
|
||||||
working-directory: ./editors/code
|
working-directory: ./editors/code
|
||||||
|
|
Loading…
Reference in a new issue