Skip to content

Commit e7d2c13

Browse files
committed
Test with on multiple platforms
1 parent 93164ff commit e7d2c13

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
os:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
vscodeVersion:
19+
- 1.56.0
20+
- stable
21+
runs-on: ${{ matrix.os }}
1322
name: Build
1423
steps:
1524
- uses: actions/checkout@v3
@@ -40,6 +49,7 @@ jobs:
4049
npm test
4150
env:
4251
DISPLAY: ':99.0'
52+
VSCODE_VERSION: ${{ matrix.vscodeVersion }}
4353

4454
publish:
4555
name: Publish

wdio.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const config: Options.Testrunner = {
1717
capabilities: [
1818
{
1919
browserName: 'vscode',
20-
browserVersion: '1.71.0', // "insiders" or "stable" for latest VSCode version
20+
browserVersion: process.env.VSCODE_VERSION || '1.56.0', // "insiders" or "stable" for latest VSCode version
2121
// @ts-ignore
2222
'wdio:vscodeOptions': {
2323
extensionPath: __dirname,

0 commit comments

Comments
 (0)