Skip to content

Commit

Permalink
Temporarily disable extension unit tests on non-Windows platforms
Browse files Browse the repository at this point in the history
The VS Code extension test runner is failing consistently on Linux and
MacOS so we are disabling it for now until we can diagnose the issue.
Tracked by issue PowerShell#1024.
  • Loading branch information
daviwil committed Sep 6, 2017
1 parent 18bb5ac commit 7fff477
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions vscode-powershell.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,13 @@ task BuildEditorServices {
task BuildAll BuildEditorServices, Build -Before Package

task Test Build, {
Write-Host "`n### Running extension tests" -ForegroundColor Green
exec { & npm run test }
if (!$global:IsLinux -and !$global:IsOSX) {
Write-Host "`n### Running extension tests" -ForegroundColor Green
exec { & npm run test }
}
else {
Write-Host "`n### Skipping extension tests on non-Windows platform" -ForegroundColor Yellow
}
}

task Package {
Expand Down

0 comments on commit 7fff477

Please sign in to comment.