Skip to content

[MINOR] improvement: use mvn wrapper in CI builds. - #1351

Merged
kaijchen merged 1 commit into
apache:masterfrom
lukhar:use-mvn-in-ci
Dec 6, 2023
Merged

[MINOR] improvement: use mvn wrapper in CI builds.#1351
kaijchen merged 1 commit into
apache:masterfrom
lukhar:use-mvn-in-ci

Conversation

@lukhar

@lukhar lukhar commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This is a follow-up to eef0134. The change will (hopefully) invoke ./mvnw (wrapper) instead of the mvn command in CI builds, making the local development builds and CI builds equivalent to the applied maven version.

Why are the changes needed?

It's prudent to have the development builds as close to the ones executed by CI/CD system as possible.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

I believe having a PR builder pass should suffice.

This change will (hopefully) invoke `./mvnw` (wrapper) instead `mvn`
command in CI builds, making the local development builds and CI builds
equivalent in terms of applied `maven` version.
@@ -84,11 +84,11 @@ jobs:
restore-keys: |
mvn-${{ inputs.java-version }}-package-${{ matrix.profile }}-

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It does not seem to me that this one needs to change, having said that I'm rather new to github workflows so any advice on this would be appreciated.

@codecov-commenter

codecov-commenter commented Dec 6, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f57360f) 0.00% compared to head (fc4953f) 54.17%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #1351       +/-   ##
=============================================
+ Coverage          0   54.17%   +54.17%     
- Complexity        0     2712     +2712     
=============================================
  Files             0      398      +398     
  Lines             0    21540    +21540     
  Branches          0     2042     +2042     
=============================================
+ Hits              0    11670    +11670     
- Misses            0     9156     +9156     
- Partials          0      714      +714     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roryqi
roryqi requested a review from kaijchen December 6, 2023 05:59

@kaijchen kaijchen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks @lukhar for the improvement.

@kaijchen
kaijchen merged commit 5d7aeae into apache:master Dec 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.

3 participants