-
Notifications
You must be signed in to change notification settings - Fork 848
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
jmhCompile should not compile with compiler arg -Werror #866
Conversation
Merge upstream
we should add |
i would like to get into CI, i'll do it |
@jkwatson done |
@@ -3,6 +3,7 @@ | |||
.PHONY: test | |||
test: | |||
./gradlew clean assemble check --stacktrace | |||
./gradlew compileJmhJava |
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.
I would create a different Makefile target for the benchmarks. This way, we can decouple benchmarks from compilation in CircleCI
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.
agree
Any ideas why on CI
|
Codecov Report
@@ Coverage Diff @@
## master #866 +/- ##
===========================================
+ Coverage 78.94% 80.75% +1.8%
- Complexity 789 820 +31
===========================================
Files 105 108 +3
Lines 2845 2899 +54
Branches 273 265 -8
===========================================
+ Hits 2246 2341 +95
+ Misses 494 452 -42
- Partials 105 106 +1
Continue to review full report at Codecov.
|
yeap it executed in Build section, but i think that it should be executed in Compile JMH section and not executed in Build |
Sorry, I wrongly read your comment. It is skipped because there is no |
still if u look at build section it calling > Task :opentelemetry-sdk:compileJmhJava |
Found: gradle assemble calling :opentelemetry-sdk:compileJmhJava |
@jkwatson as u can see here https://circleci.com/gh/open-telemetry/opentelemetry-java/2008#tests/containers/0 |
This seems fine to me. |
in current state there is no sense for Compile JMH step, in it we will get
because it's called at Build step |
Jmh fail on compile time because of -Werror flag