File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,19 +122,13 @@ stages:
122122 condition: succeededOrFailed()
123123
124124 - pwsh : |
125- Import-Module .\build.psm1
126- Set-CorrectLocale
127-
128125 Import-Module .\tools\ci.psm1
129126 Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
130127 Invoke-CITest -Purpose UnelevatedPesterTests -TagSet Others
131128 displayName: Test - UnelevatedPesterTests - Others
132129 condition: succeededOrFailed()
133130
134131 - pwsh : |
135- Import-Module .\build.psm1
136- Set-CorrectLocale
137-
138132 Import-Module .\tools\ci.psm1
139133 Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
140134 Invoke-CITest -Purpose ElevatedPesterTests -TagSet Others
Original file line number Diff line number Diff line change 6363 continueOnError: true
6464
6565 - pwsh : |
66- Import-Module .\build.psm1 -Force
67- Set-CorrectLocale
68-
6966 Import-Module .\tools\ci.psm1
7067 Restore-PSOptions -PSOptionsPath '$(System.ArtifactsDirectory)\build\psoptions.json'
7168 $options = (Get-PSOptions)
Original file line number Diff line number Diff line change @@ -215,6 +215,9 @@ function Invoke-CITest
215215 [string ] $TagSet
216216 )
217217
218+ # Set locale correctly for Linux CIs
219+ Set-CorrectLocale
220+
218221 # Pester doesn't allow Invoke-Pester -TagAll@('CI', 'RequireAdminOnWindows') currently
219222 # https://github.com/pester/Pester/issues/608
220223 # To work-around it, we exlude all categories, but 'CI' from the list
You can’t perform that action at this time.
0 commit comments