diff --git a/.github/workflows/E2E.yml b/.github/workflows/E2E.yml index 8711157a..aa951bc8 100644 --- a/.github/workflows/E2E.yml +++ b/.github/workflows/E2E.yml @@ -8,8 +8,11 @@ jobs: test: name: Run E2E tests runs-on: ubuntu-latest + strategy: + matrix: + version: ["1.90.0", "stable", "insiders"] steps: - - run: sudo apt update && sudo apt install -y libasound2 libgbm1 libgtk-3-0 libnss3 xvfb expect + - run: sudo apt update && sudo apt install -y libasound2t64 libgbm1 libgtk-3-0 libnss3 xvfb expect - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: @@ -25,3 +28,5 @@ jobs: expect eof EOF - run: xvfb-run -a npm run test:extension + env: + VSCODE_VERSION: "${{ matrix.version }}" diff --git a/src/__e2e__/runTests.js b/src/__e2e__/runTests.js index 24fc90b3..665d32bd 100644 --- a/src/__e2e__/runTests.js +++ b/src/__e2e__/runTests.js @@ -28,6 +28,7 @@ async function main() { const exitCode = await runTests({ extensionDevelopmentPath, extensionTestsPath, + version: process.env.VSCODE_VERSION || "stable", launchArgs: [ "--disable-extensions", `${extensionDevelopmentPath}/sampleWorkspace/sampleWorkspace.code-workspace`,