Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .vsts-ci/misc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ phases:
displayName: Capture environment
condition: succeededOrFailed()

- powershell: Install-module pester -Scope CurrentUser -Force -SkipPublisherCheck
- powershell: |
Install-module pester -Scope CurrentUser -Force
displayName: Install Pester
condition: succeededOrFailed()

- bash: |
sudo npm install -g [email protected]
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
# Sometimes this folder is left behind with root permissions and is needed by later npm installs which don't need sudo
sudo rm -rf ~/.npm/_cacache
displayName: Install mdspell
condition: succeededOrFailed()
Expand All @@ -50,7 +51,7 @@ phases:

- bash: |
mdspell '**/*.md' '!**/Pester/**/*.md' --ignore-numbers --ignore-acronyms --report --en-us;
displayName: Test Spelling
displayName: Test Spelling in Markdown
condition: succeededOrFailed()

- powershell: |
Expand All @@ -60,7 +61,7 @@ phases:
Write-Host "##vso[results.publish type=NUnit;mergeResults=true;runTitle=Common Tests;publishRunAttachments=true;resultFiles=$path;]"
if($results.TotalCount -eq 0 -or $results.FailedCount -gt 0)
{
throw "markdown link tests failed"
throw "Markdown tests failed"
}
displayName: Run Common Tests
condition: succeededOrFailed()