Skip to content

Commit ee79467

Browse files
committed
set locale
1 parent f4e4441 commit ee79467

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/appveyor.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ function Invoke-AppveyorTest {
7676
Copy-Item "${CheckoutPath}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force
7777
$testResultsFile = ".\TestResults.xml"
7878
$testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules","${CheckoutPath}\Tests\Documentation"
79+
if ($IsLinuc -and $env:APPVEYOR) {
80+
LANG = en_US.UTF-8
81+
}
7982
$testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru
8083
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile))
8184
if ($testResults.FailedCount -gt 0) {

0 commit comments

Comments
 (0)