Skip to content

Commit

Permalink
set locale
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmeister committed Dec 29, 2018
1 parent f4e4441 commit ee79467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/appveyor.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ function Invoke-AppveyorTest {
Copy-Item "${CheckoutPath}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force
$testResultsFile = ".\TestResults.xml"
$testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules","${CheckoutPath}\Tests\Documentation"
if ($IsLinuc -and $env:APPVEYOR) {
LANG = en_US.UTF-8
}
$testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile))
if ($testResults.FailedCount -gt 0) {
Expand Down

0 comments on commit ee79467

Please sign in to comment.