Skip to content

Commit

Permalink
fix functional test ri=un
Browse files Browse the repository at this point in the history
  • Loading branch information
b-vadym committed Jan 18, 2022
1 parent b5a6922 commit ebd433e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/github-actions-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
with:
node-version: 14.x
- run: yarn install
- run: |
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
# start xvfb in the background
xvfb-run -a yarn test
if: runner.os == 'Linux'
- run: yarn test
if: runner.os != 'Linux'
- name: Run headless test
uses: GabrielBB/[email protected]
with:
run: yarn test
2 changes: 1 addition & 1 deletion src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function main() {
// Passed to --extensionTestsPath
const extensionTestsPath = path.resolve(__dirname, './suite/index');
const testWorkspace = path.resolve(__dirname, '../../test-fixtures/test-workspace');
const vscodeExecutablePath = await downloadAndUnzipVSCode('insiders');
const vscodeExecutablePath = await downloadAndUnzipVSCode('1.63.0');
const cliPath = resolveCliPathFromVSCodeExecutablePath(vscodeExecutablePath);

// Use cp.spawn / cp.exec for custom setup
Expand Down

0 comments on commit ebd433e

Please sign in to comment.