Skip to content

Commit

Permalink
Force Pester v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ili101 committed Nov 9, 2020
1 parent 84e3894 commit a813189
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ skip_commits:

# Scripts that run after cloning repository
install:
- ps: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
- ps: 'Install-Module -Name Pester -Force -SkipPublisherCheck -MaximumVersion 4.99.99'
#- ps: 'Install-Module -Name Assert -Force'
# PowerShell Core
- ps: '& .\CI\InstallPowerShell.ps1 -Version "7.0.0-preview.4"' # Install other PowerShell Core version (Optional)
- pwsh: 'Install-Module -Name Pester -Force'
- pwsh: 'Install-Module -Name Pester -Force -MaximumVersion 4.99.99'
#- pwsh: 'Install-Module -Name Assert -Force'

# To run your custom scripts instead of automatic tests
Expand All @@ -56,7 +56,7 @@ for:
# Scripts that run after cloning repository
install:
- pwsh: '& .\CI\CI.ps1 -Initialize' # Set AppVeyor build version
- pwsh: 'Install-Module -Name Pester -Force'
- pwsh: 'Install-Module -Name Pester -Force -MaximumVersion 4.99.99'
#- pwsh: 'Install-Module -Name Assert -Force'
# To run your custom scripts instead of automatic tests
test_script:
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
vmImage: 'windows-latest'

steps:
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck -MaximumVersion 4.99.99'
displayName: 'Update Pester'
- powershell: '& ./CI/Assert.ps1 ; ./CI/CI.ps1 -Test'
displayName: 'Install and Test'
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
vmImage: 'windows-latest'

steps:
- pwsh: 'Install-Module -Name Pester -Force'
- pwsh: 'Install-Module -Name Pester -Force -MaximumVersion 4.99.99'
displayName: 'Update Pester'
- pwsh: '& ./CI/Assert.ps1 ; ./CI/CI.ps1 -Test'
displayName: 'Install and Test'
Expand All @@ -65,7 +65,7 @@ jobs:
vmImage: 'ubuntu-latest'

steps:
- powershell: 'Install-Module -Name Pester -Force'
- powershell: 'Install-Module -Name Pester -Force -MaximumVersion 4.99.99'
displayName: 'Update Pester'
- powershell: '& ./CI/Assert.ps1 ; ./CI/CI.ps1 -Test'
displayName: 'Install and Test'
Expand All @@ -81,7 +81,7 @@ jobs:
vmImage: 'macOS-latest'

steps:
- powershell: 'Install-Module -Name Pester -Force'
- powershell: 'Install-Module -Name Pester -Force -MaximumVersion 4.99.99'
displayName: 'Update Pester'
- powershell: '& ./CI/Assert.ps1 ; ./CI/CI.ps1 -Test'
displayName: 'Install and Test'
Expand Down

0 comments on commit a813189

Please sign in to comment.