-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions: Re-enable jacoco coverage report #62
Comments
The issue (#62) serves as an reminder that this commit should be reverted as soon as this is fixed. jacoco is currently failing and breaking the test pipeline, hopefully this is not an issue on our side and will be fixed in the next release. > Caused by: : Error while creating report > [...] > Caused by: java.io.IOException: Error while analyzing /home/runner/work/ddev-intellij-plugin/ddev-intellij-plugin/build/classes/java/main/de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl.class. > [...] > Caused by: java.lang.IllegalStateException: Can't add different class with same name: de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl
The issue (#62) serves as an reminder that this commit should be reverted as soon as this is fixed. jacoco is currently failing and breaking the test pipeline, hopefully this is not an issue on our side and will be fixed in the next release. > Caused by: : Error while creating report > [...] > Caused by: java.io.IOException: Error while analyzing /home/runner/work/ddev-intellij-plugin/ddev-intellij-plugin/build/classes/java/main/de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl.class. > [...] > Caused by: java.lang.IllegalStateException: Can't add different class with same name: de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl
* Bump org.jetbrains.intellij from 1.5.3 to 1.6.0 * GitHub Actions: Run test with `--stacktrace` option * GitHub Actions: Temporarily removes jacoco report generation (#62) The issue (#62) serves as an reminder that this commit should be reverted as soon as this is fixed. jacoco is currently failing and breaking the test pipeline, hopefully this is not an issue on our side and will be fixed in the next release. > Caused by: : Error while creating report > [...] > Caused by: java.io.IOException: Error while analyzing /home/runner/work/ddev-intellij-plugin/ddev-intellij-plugin/build/classes/java/main/de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl.class. > [...] > Caused by: java.lang.IllegalStateException: Can't add different class with same name: de/php_perfect/intellij/ddev/statusBar/DdevStatusBarWidgetFactoryImpl Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nico Löber <nico.loeber94@gmail.com> Co-authored-by: Christian Koop <contact@sprax2013.de>
I guess the issue might be on our side, since it did no exists before merging the dependency updates. |
I believe JetBrains changed something about their compile steps causing jacoco to find mutliple versions of compiled classes in different directories. Explicitly setting the class directory to use fixes the issues we had in #59
The code coverage issue should be fixed now by |
Looks like there are still some issues. Could not get it to not detect 0% coverage and found a ticket about that. I've subscribed to it and maybe they find something that needs to be configured or fixed in the intellij-plugin. |
When updating
org.jetbrains.intellij
in 8145a86 (#59) the jacoco report generation started failing with the errorsThis doesn't feel like an error on our side, so the commit ea6955a in (#59) should be reverted as soon as an update is available that fixes the issue.
Additionally the SonarCloud workflow should be re-enabled again. It keeps failing with OutOfMemory errors
The text was updated successfully, but these errors were encountered: