Open ralfstuckert opened 8 months ago
@ralfstuckert thanks for reporting the bug and providing your repo. i am able to replicate. i will try to fix it in couple of days.
Hi, seeing the same exact issue in my project. Any progress?
Hi, seeing the same exact issue in my project. Any progress?
I am able to replicate the issue. now attempting to fix it !
I'm having the same issue as well.
Same problem here. Apparently it works fine with push
events but fails for pull_request
events.
I do have the problem as well. I am currently trying to modularize my build, i.e., building in one job, then upload/download artifacts including JaCoCo reports. With unmodularized builds every was fine.
After forking with some debug output I located the problem in my case(s): There was one class where the package name did not reflect the directory structure, means:
Class a.b.c.MyClass
was in a file src/main/kotlin/a/b/MyClass.kt
by mistake. Moving the class to src/main/kotlin/a/b/c/MyClass.kt
solved the problem.
That you can work around the problem does not mean there is no issue, so closing this issue is imho not the appropriate step. Having a class package not matching the directory structure is not intentional, but not a problem. The action should at least not fail with an error but skip the file. It could do even better by reporting a warning with an appropriate message, that the class a.b.c.MyClass
has not been found in a expected file src/main/kotlin/a/b/c/MyClass.kt
so the user can deal the situation.
Describe the bug I get the following error using your action in the (public) repo https://github.com/ralfstuckert/openpdf-markdown
I have debugged the run, the file
_TMP/coverage-results.md
passed as the parameter actually exists... I don't get it :-/To Reproduce Since my repo https://github.com/ralfstuckert/openpdf-markdown is public you may clone it, in order to reproduce it. As mentioned, the debug action is included in order to inspect the run.