We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e4441 commit ee79467Copy full SHA for ee79467
tools/appveyor.psm1
@@ -76,6 +76,9 @@ function Invoke-AppveyorTest {
76
Copy-Item "${CheckoutPath}\out\PSScriptAnalyzer" "$modulePath\" -Recurse -Force
77
$testResultsFile = ".\TestResults.xml"
78
$testScripts = "${CheckoutPath}\Tests\Engine","${CheckoutPath}\Tests\Rules","${CheckoutPath}\Tests\Documentation"
79
+ if ($IsLinuc -and $env:APPVEYOR) {
80
+ LANG = en_US.UTF-8
81
+ }
82
$testResults = Invoke-Pester -Script $testScripts -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru
83
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Resolve-Path $testResultsFile))
84
if ($testResults.FailedCount -gt 0) {
0 commit comments