-
Notifications
You must be signed in to change notification settings - Fork 7
build: run tests on module path #1104
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
base: main
Are you sure you want to change the base?
Conversation
8195d82
to
6a6e588
Compare
5d5ddb3
to
6a6f8c3
Compare
e547f44
to
2891aa3
Compare
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
fcc2026
to
ad05e5d
Compare
@AlfredoG87 I figured that we temporarily can add patch code for |
@AlfredoG87 @jasperpotts With moving tests to the Module Path, the test
|
protobuf/src/test/java/.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also consider suppressing the test generation by PBJ so that we do not create or run those tests at all (it is an option in the PBJ compiler now).
Those tests verify that PBJ is correct, which isn't particularly necessary to run here.
I agree with the approach 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dd5aecd
to
53f31e9
Compare
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (75.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. @@ Coverage Diff @@
## main #1104 +/- ##
============================================
+ Coverage 84.33% 84.41% +0.07%
- Complexity 915 941 +26
============================================
Files 105 107 +2
Lines 3786 3901 +115
Branches 415 424 +9
============================================
+ Hits 3193 3293 +100
- Misses 423 431 +8
- Partials 170 177 +7
... and 8 files with indirect coverage changes 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
@@ -14,7 +14,8 @@ | |||
// export configuration classes to the config module | |||
exports org.hiero.block.node.app to | |||
com.swirlds.config.impl, | |||
com.swirlds.config.extensions; | |||
com.swirlds.config.extensions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit concerning, as this module both requires
and exports to
the com.swirlds.config.extensions
module.
As noted above, this module really should not be exporting anything, so we probably need to fix whatever is needing us to export here.
Outside the scope of this PR, but I've filed an issue to investigate and resolve.
Description:
Update hiero-gradle-conventions to 0.4.1 and by that run tests on the module path.
See hiero-ledger/hiero-consensus-node#18922 for more details on how that works.
Blocked until hcn 0.63.0 is released: Need to wait for next hcn (swirlds version) release as patched module nameio.prometheus.simpleclient
was changed tosimpleclient
which is the name expected bymodule-info.class
files published inhelidon
modules.