generated from ebekker/pwsh-github-action-base
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I'm seeing some strange behaviour with my test process. It runs my tests successfully and seems to generate an output, but then tries and fails to add a check run, citing invalid JSON:
Invoke-WebRequest: /home/runner/work/_actions/zyborg/dotnet-tests-report/v1.3.0/action.ps1:144
Line |
144 | Invoke-WebRequest -Headers $hdr $url -Method Post -Body ($bdy | C …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| {"message":"Problems parsing
| JSON","documentation_url":"https://docs.github.com/rest/reference/checks#create-a-check-run"}
It also fails to create a results gist, with the same error at line 235.
I did notice it failed to build the solution, but since the tests ran successfully I'm not sure if this is related:
Results File: /home/runner/work/geodesy-csharp/geodesy-csharp/_TMP/test-results.trx
Test Run Failed.
Total tests: 81
Passed: 75
Failed: 6
Total time: 1.6010 Seconds
3>Done Building Project "/home/runner/work/geodesy-csharp/geodesy-csharp/geodesy-test/geodesy-test.csproj" (VSTest target(s)) -- FAILED.
1>Done Building Project "/home/runner/work/geodesy-csharp/geodesy-csharp/geodesy-csharp.sln" (VSTest target(s)) -- FAILED.
Build FAILED.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.25
Warning: Execution of tests returned failure: 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels