Skip to content

Enable Kover for serialization, disable for Optics KSP #3284

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

Merged
merged 8 commits into from
Nov 5, 2023

Conversation

serras
Copy link
Member

@serras serras commented Nov 5, 2023

The Kover report is causing problems with the new version of KSP

Copy link
Contributor

github-actions bot commented Nov 5, 2023

Kover Report

Total Project Coverage 51.38%

@@ -68,10 +68,11 @@ dependencies {
kover(projects.arrowContinuations)
kover(projects.arrowCore)
kover(projects.arrowCoreRetrofit)
// kover(projects.arrowCoreSerialization)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to add it for completeness, but it turns out that it causes problems with Kover (as the Optics KSP does). At the end I’ll remove both, and add a warning in the code to remember this.

kover(projects.arrowFxCoroutines)
kover(projects.arrowFxStm)
kover(projects.arrowOptics)
kover(projects.arrowOpticsKspPlugin)
// kover(projects.arrowOpticsKspPlugin)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be removed instead of comment?

Suggested change
// kover(projects.arrowOpticsKspPlugin)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d rather keep it alongside the comment in the corresponding section

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @serras!

@nomisRev nomisRev merged commit 8555a01 into main Nov 5, 2023
@nomisRev nomisRev deleted the serras/update-kover branch November 5, 2023 15:21
@serras serras mentioned this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants