Skip to content

Commit

Permalink
fix ci & run ci with multiple VSCode versions (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored Oct 15, 2024
1 parent 493731d commit e5b17b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -25,3 +28,5 @@ jobs:
expect eof
EOF
- run: xvfb-run -a npm run test:extension
env:
VSCODE_VERSION: "${{ matrix.version }}"
1 change: 1 addition & 0 deletions src/__e2e__/runTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit e5b17b5

Please sign in to comment.