Skip to content

Commit

Permalink
And again
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Aug 3, 2020
1 parent db72ed1 commit 9b88519
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Azure-Pipelines/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ if ($Bootstrap.IsPresent) {
Install-Module -Name Pester -Scope CurrentUser -Force -RequiredVersion 4.10.1
}

if ((Get-Module -Name Pester -ListAvailable)[0].Version -ne [Version]'4.10.1') {
Install-Module -Name Pester -Scope CurrentUser -Force -RequiredVersion 4.10.1
}

Import-Module -Name Pester -RequiredVersion 4.10.1

if (-not (Get-Module -Name PSCodeCovIo -ListAvailable)) {
Write-Warning "Module 'PSCodeCovIo' is missing. Installing 'PSCodeCovIo' ..."
Install-Module -Name PSCodeCovIo -Scope CurrentUser -Force
Expand Down

0 comments on commit 9b88519

Please sign in to comment.