Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 0 additions & 6 deletions .vsts-ci/linux-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,13 @@ stages:
condition: succeededOrFailed()

- pwsh: |
Import-Module .\build.psm1
Set-CorrectLocale

Import-Module .\tools\ci.psm1
Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
Invoke-CITest -Purpose UnelevatedPesterTests -TagSet Others
displayName: Test - UnelevatedPesterTests - Others
condition: succeededOrFailed()

- pwsh: |
Import-Module .\build.psm1
Set-CorrectLocale

Import-Module .\tools\ci.psm1
Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
Invoke-CITest -Purpose ElevatedPesterTests -TagSet Others
Expand Down
3 changes: 0 additions & 3 deletions .vsts-ci/templates/nix-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jobs:
continueOnError: true

- pwsh: |
Import-Module .\build.psm1 -Force
Set-CorrectLocale

Import-Module .\tools\ci.psm1
Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
$options = (Get-PSOptions)
Expand Down
3 changes: 3 additions & 0 deletions tools/ci.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ function Invoke-CITest
[string] $TagSet
)

# Set locale correctly for Linux CIs
Set-CorrectLocale

# Pester doesn't allow Invoke-Pester -TagAll@('CI', 'RequireAdminOnWindows') currently
# https://github.com/pester/Pester/issues/608
# To work-around it, we exlude all categories, but 'CI' from the list
Expand Down