Skip to content

Commit

Permalink
Migrate to vscode-test
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Aug 29, 2019
1 parent fe61af3 commit 9aa0045
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 569 deletions.
3 changes: 1 addition & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/test"
"--extensionTestsPath=${workspaceRoot}/out/test/suite/index"
],
"stopOnEntry": false,
"sourceMaps": true,
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
- script: |
node ./node_modules/vscode/bin/test
node ./out/test/runTest.js
displayName: Test (stable)
env:
DISPLAY: :10
Expand All @@ -93,7 +93,7 @@ jobs:
condition: succeededOrFailed()

- script: |
node ./node_modules/vscode/bin/test
node ./out/test/runTest.js
displayName: Test (insiders)
env:
CODE_VERSION: insiders
Expand All @@ -103,7 +103,7 @@ jobs:
- task: PublishTestResults@2
displayName: Publish test results (insiders)
inputs:
testResultsFiles: $(System.DefaultWorkingDirectory)/.vscode-test/stable/test-results.xml
testResultsFiles: $(System.DefaultWorkingDirectory)/.vscode-test/insiders/test-results.xml
testRunTitle: $(platform)-insiders
buildPlatform: $(platform)
condition: succeededOrFailed()
Expand Down
Loading

0 comments on commit 9aa0045

Please sign in to comment.