Skip to content
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

Revamp Github Action settings for CI #1947

Closed
wants to merge 25 commits into from
Closed

Conversation

yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented Feb 21, 2022

Why are the changes needed?

  1. Add missing asf header
  2. Disable fail-fast to let jobs run individually
  3. Group defaults maven builds with java & spark version matrix
    • so this PR brings fully tests with JDK 11 back
  4. Group others(now cross-version check only) in include
  5. replace actions/cache@v2 with actions/setup-java@v2 - cache: 'maven'

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

Need to pass all CI jobs

@yaooqinn yaooqinn added the infra label Feb 21, 2022
@yaooqinn yaooqinn self-assigned this Feb 21, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2022

Codecov Report

Merging #1947 (7d5d247) into master (354bf83) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1947      +/-   ##
============================================
- Coverage     60.89%   60.86%   -0.04%     
  Complexity       69       69              
============================================
  Files           302      302              
  Lines         14785    14797      +12     
  Branches       1914     1915       +1     
============================================
+ Hits           9004     9006       +2     
- Misses         5011     5022      +11     
+ Partials        770      769       -1     
Impacted Files Coverage Δ
.../apache/hive/beeline/KyuubiDatabaseConnection.java 0.00% <0.00%> (ø)
.../org/apache/kyuubi/jdbc/hive/KyuubiConnection.java 4.37% <0.00%> (+0.08%) ⬆️
...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala 84.40% <0.00%> (+0.91%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 354bf83...7d5d247. Read the comment docs.

@yaooqinn yaooqinn added this to the v1.5.0 milestone Feb 21, 2022
@yaooqinn yaooqinn closed this Feb 21, 2022
@yaooqinn yaooqinn reopened this Feb 21, 2022
restore-keys: |
${{ runner.os }}-maven-io-
- name: Build with Maven
cache: 'maven'
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a good code improvement ! more details action docs

Copy link
Member

Choose a reason for hiding this comment

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

Awosome, do we need to un-pin actions/[email protected]?

@pan3793 pan3793 mentioned this pull request Feb 22, 2022
3 tasks
@yaooqinn
Copy link
Member Author

thanks @pan3793 @ulysses-you @cfmcgrady for the help, merged to master

@yaooqinn yaooqinn closed this in 5836db6 Feb 22, 2022
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.

5 participants