-
Notifications
You must be signed in to change notification settings - Fork 21
Can't upload coverage with AppVeyor (400/599 error) #106
Comments
Related? https://community.codecov.io/t/http-400-while-uploading-to-s3-with-python-codecov-from-travis/1428/8 Oh, looks like #105 fixes this |
I no longer have the 599 error but I still have the 400's one |
Thanks for your answer, For example the last AppVeyor run tells me
However if you go on https://codecov.io/github/Xwilarg/BooruSharp/commit/4e5223dc403f618b4f91b80d273ca85bf8695be0 it says there was an error processing the coverage report. |
@Xwilarg typical reasons I have seen that that can cause such issues is an empty or invalid coverage report, and looking at your latest build, I suspect there is an empty coverage report. (codecov-exe do not validate the coverage report before uploading it). I see you are using opencover, which doesn't fully support .NET Core and its portable debug files. You can quickly fix that by adding the following to your project files, and possibly also to the unit testing libraries as well (not entirely sure if the latter was needed or not). <DebugType>pdbonly</DebugType> Or you can switch to a coverage utility that supports .NET Core like coverlet (this is the one I use and would recommend). |
I switched to coverlet and it's now working, thanks! |
Hi,
I'm trying to use Codecov with AppVeyor but I'm getting a Bad Request (400) and an Internal Server Error (599)
The unit tests are on .NET Core 3.1
My configuration file is the following:
And here is what AppVeyor is telling me:
If needed you can find the full log here: https://ci.appveyor.com/project/Xwilarg/boorusharp#L656
(Errors are line 658 and 662)
Thanks in advance,
The text was updated successfully, but these errors were encountered: