Skip to content

Commit

Permalink
WIP #217 - Use 'nunit' endpoint
Browse files Browse the repository at this point in the history
This follows the advice at https://help.appveyor.com/discussions/problems/37319-http-500-error-when-uploading-nunit3-test-results-suspected-failure-on-parameterized-test-cases

Apparently using the regular nunit ebony works, where the nunit3 endpoint does not.
  • Loading branch information
craigfowler authored Nov 13, 2024
1 parent 8023698 commit d416ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/appveyor-upload-test-results.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ foreach($project in $TestProjects)
{
$testResultFile = "$SolutionRoot\Tests\$project\TestResults\TestResults.xml"
Move-Item $testResultFile "$SolutionRoot\TestResults\$project.TestResults.xml"
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $SolutionRoot\TestResults\$project.TestResults.xml))
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $SolutionRoot\TestResults\$project.TestResults.xml))
}

0 comments on commit d416ca6

Please sign in to comment.