File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/checkout@master
1313 - run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14- - name : Start xvfb
15- if : runner.os == 'Linux'
16- run : |
17- set -e
18- /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
19- disown -ar
2014 - name : Set an output
2115 id : set-version
2216 if : runner.os == 'Linux'
@@ -36,12 +30,13 @@ jobs:
3630 - name : Use Node.js
3731 uses : actions/setup-node@master
3832 with :
39- node-version : 10
33+ node-version : 12.x
4034 - run : npm install
4135 - run : npm run compile
42- - run : npm run test
43- env :
44- DISPLAY : :10
36+ - name : npm test
37+ uses : GabrielBB/xvfb-action@v1.0
38+ with :
39+ run : npm run test
4540 - name : Build package
4641 if : runner.os == 'Linux'
4742 run : |
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ async function main() {
1717 // Download VS Code, unzip it and run the integration test
1818 await runTests ( { extensionDevelopmentPath, extensionTestsPath, launchArgs } ) ;
1919 } catch ( err ) {
20- console . error ( "Failed to run tests" ) ;
20+ console . error ( "Failed to run tests" , err ) ;
2121 process . exit ( 1 ) ;
2222 }
2323}
You can’t perform that action at this time.
0 commit comments