zyborg / dotnet-tests-report

GitHub Action to run .NET Core tests and generate report attached to Workflow Run
MIT License
112 stars 36 forks source link

Can't upload test results if they have more than 65,535 characters #12

Closed ekolis closed 3 years ago

ekolis commented 3 years ago

I got this error from the dotnet-tests-report action as run here:

Invoke-WebRequest: D:\a\_actions\zyborg\dotnet-tests-report\v1.3.0\action.ps1:144
Line |
 144 |      Invoke-WebRequest -Headers $hdr $url -Method Post -Body ($bdy | C …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | {"message":"Invalid request.\n\nOnly 65535 characters are allowed; 93137 were
     | supplied.","documentation_url":"https://docs.github.com/rest/reference/checks#create-a-check-run"}

There's got to be some other way to present the test results...

ebekker commented 3 years ago

Yep, you can see the details in #9.