Skip to content

Commit

Permalink
small refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
matepek committed Oct 16, 2022
1 parent 84be338 commit 991bf7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', 'minimum']
VSCODE_VERSION: ['stable', 'minimum']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
Expand Down Expand Up @@ -46,7 +46,6 @@ jobs:
sleep 3
npm test
env:
TESTMATE_DEBUG: true
DISPLAY: ':99.0'

test-windows:
Expand All @@ -55,7 +54,7 @@ jobs:
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', 'minimum']
VSCODE_VERSION: ['stable', 'minimum']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
Expand Down Expand Up @@ -83,16 +82,14 @@ jobs:

- name: Test
run: npm test
env:
TESTMATE_DEBUG: true

test-mac:
name: MacOS
runs-on: macos-latest
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', 'minimum']
VSCODE_VERSION: ['stable', 'minimum']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ If you think your changes worth of a release add a new version entry to `CHANGEL
- https://code.visualstudio.com/api/working-with-extensions/publishing-extension
- https://matepek.visualstudio.com/_usersSettings/tokens

## VSCode API

https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.d.ts

## VSCODE TESTING API

### TODOs
Expand Down
6 changes: 1 addition & 5 deletions test/runTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ async function main(): Promise<void> {
console.log('Working directory has been created', testWorkspace);

const version =
process.env['VSCODE_VERSION'] === 'latest'
? undefined
: process.env['VSCODE_VERSION'] === 'minimum'
? getMinimumSupportedVersion()
: process.env['VSCODE_VERSION'];
process.env['VSCODE_VERSION'] === 'minimum' ? getMinimumSupportedVersion() : process.env['VSCODE_VERSION'];

await runTests({
version,
Expand Down

0 comments on commit 991bf7d

Please sign in to comment.