mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Start xvfb manually on ubuntu
This commit is contained in:
parent
ca230627c6
commit
bddbe16d93
1 changed files with 10 additions and 1 deletions
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
|
@ -97,7 +97,7 @@ jobs:
|
||||||
|
|
||||||
typescript:
|
typescript:
|
||||||
name: TypeScript
|
name: TypeScript
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -116,8 +116,17 @@ jobs:
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
working-directory: ./editors/code
|
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
|
- 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