Giter Club home page Giter Club logo

Comments (10)

humblehacker avatar humblehacker commented on September 25, 2024

I was able to work around it by reverting to v1.

False positive. The build succeeded once, then started failing again, even with v1.

from kover-report.

mi-kas avatar mi-kas commented on September 25, 2024

@humblehacker Thanks for creating the issue! Could you mabe post your kover report.xml file here? Because it might be an issue related to parsing and reading that file as far I can see from your logs.

from kover-report.

humblehacker avatar humblehacker commented on September 25, 2024

Thanks for your reply 😄 I'd rather not publicly post the coverage report. I thought maybe I could uncover the issue by replacing the contents of report.xml in your repo with my coverage file and running the test parse kover report from xml file. I wasn't expecting the test to pass of course, but I thought it might produce the same exception and I could catch it in the debugger. Unfortunately, parsing succeeded!

Do you have any other ideas on how I could debug this on my end?

from kover-report.

humblehacker avatar humblehacker commented on September 25, 2024

It seems that whatever issue is triggering this problem is transient in the generation of report.xml. I thought maybe my test above didn't give me the results I was looking for because I had generated the coverage file locally, while the failure occurred on GitHub Actions. Maybe there was something about the different platform that was causing a problem with the generated file. So I updated my workflow to save the file as an artifact. However, when the workflow ran, kover-report did not fail!

So I guess I leave it like this for now. If I do encounter the failure again, at least I'll have access to the problematic XML file and maybe then we can find the cause.

from kover-report.

mi-kas avatar mi-kas commented on September 25, 2024

Thanks for the insights! I will close this issue now, but feel free to come back to it if you encounter this error again

from kover-report.

humblehacker avatar humblehacker commented on September 25, 2024

@mi-kas The error has reoccured, and this time I've got the xml file involved. But when I try my trick of using it in your unit test parse kover report from xml file, parsing appears to succeed.

from kover-report.

mi-kas avatar mi-kas commented on September 25, 2024

@humblehacker I just released a new beta version with a fix that I think might solve your issue. Could you try to use mi-kas/[email protected] in your action and let me know if the error still occurs?

from kover-report.

humblehacker avatar humblehacker commented on September 25, 2024

Thanks for the quick response! I'll give this a try and let you know. Since it's a transient issue, it'll take a few clean builds before I'll be able to give a fairly certain 👍

from kover-report.

mi-kas avatar mi-kas commented on September 25, 2024

@humblehacker Did you encounter the issue again?

from kover-report.

mi-kas avatar mi-kas commented on September 25, 2024

@humblehacker I will close this issue now, but feel free to come back to it if you encounter the error again in your builds.

from kover-report.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.