Comments (10)
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.
@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.
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.
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.
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.
@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.
@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.
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.
@humblehacker Did you encounter the issue again?
from kover-report.
@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)
- Add type to actions HOT 2
- Please release with action typings HOT 8
- Update usage example for PRs originating in forks HOT 2
- Support glob format for xml files HOT 7
- Make total project coverage configurable HOT 4
- Unable to publish Kover code coverage report as a comment in pull requests HOT 2
- HttpError: Not Found HOT 2
- Support workflow_dispatch HOT 1
- Coverage by separate files HOT 2
- Exclusions not working HOT 1
- Unable to publish message HOT 2
- Post kover report as job summary
- Coverage Comment Truncated
- Incorrect total coverage HOT 2
- Update to node 20? HOT 1
- Distribution not supplied HOT 1
- Coverage on branch when there is no branch
- Document permissions for github action? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kover-report.