Skip to content

Commit

Permalink
check tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Feb 3, 2020
1 parent 4e13652 commit 92aad8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ jobs:
steps:
- uses: actions/checkout@master
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Start xvfb
if: runner.os == 'Linux'
run: |
set -e
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
disown -ar
- name: Set an output
id: set-version
if: runner.os == 'Linux'
Expand All @@ -36,12 +30,13 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@master
with:
node-version: 10
node-version: 12.x
- run: npm install
- run: npm run compile
- run: npm run test
env:
DISPLAY: :10
- name: npm test
uses: GabrielBB/[email protected]
with:
run: npm run test
- name: Build package
if: runner.os == 'Linux'
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function main() {
// Download VS Code, unzip it and run the integration test
await runTests({ extensionDevelopmentPath, extensionTestsPath, launchArgs });
} catch (err) {
console.error("Failed to run tests");
console.error("Failed to run tests", err);
process.exit(1);
}
}
Expand Down

0 comments on commit 92aad8b

Please sign in to comment.