-
Notifications
You must be signed in to change notification settings - Fork 2
ci: Enable all functional GH workflows for pushes and pull requests; Enable workflow-level concurrency groups for efficiency. #7
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
Changes from all commits
a472db3
1248b77
df05df7
3f5d37e
890098b
07eb7a4
fcf9672
c88b11e
659a04a
d0d62f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,6 +2,7 @@ name: hive tests | |||||||||||||
|
||||||||||||||
on: | ||||||||||||||
pull_request: | ||||||||||||||
push: | ||||||||||||||
|
||||||||||||||
env: | ||||||||||||||
# An envar that signals to tests we are executing in the CI environment | ||||||||||||||
|
@@ -12,6 +13,13 @@ env: | |||||||||||||
MAVEN_TEST: "-B -Dair.check.skip-all -Dmaven.javadoc.skip=true -DLogTestDurationListener.enabled=true --no-transfer-progress --fail-at-end" | ||||||||||||||
RETRY: .github/bin/retry | ||||||||||||||
|
||||||||||||||
concurrency: | ||||||||||||||
group: "${{github.workflow}}-${{github.ref}}" | ||||||||||||||
|
||||||||||||||
# Cancel in-progress jobs for efficiency. Exclude the `main` branch so that each commit to main is | ||||||||||||||
# checked completely. | ||||||||||||||
cancel-in-progress: "${{github.ref != 'refs/heads/main'}}" | ||||||||||||||
|
||||||||||||||
jobs: | ||||||||||||||
changes: | ||||||||||||||
runs-on: ubuntu-latest | ||||||||||||||
|
@@ -22,7 +30,9 @@ jobs: | |||||||||||||
outputs: | ||||||||||||||
codechange: ${{ steps.filter.outputs.codechange }} | ||||||||||||||
steps: | ||||||||||||||
# For pull requests it's not necessary to checkout the code | ||||||||||||||
- uses: "actions/checkout@v4" | ||||||||||||||
with: | ||||||||||||||
submodules: "recursive" | ||||||||||||||
Comment on lines
+33
to
+35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix YAML indentation for checkout step - - uses: actions/checkout@v4
- with:
- submodules: "recursive"
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive 📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 33-33: wrong indentation: expected 6 but found 4 (indentation) 🤖 Prompt for AI Agents
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need to do this, because we are extending the existing github worflows from OSS presto. If you see the L26~L28 the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @anlowee You're absolutely right! I can see that the existing ✏️ Learnings added
anlowee marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
- uses: dorny/paths-filter@v2 | ||||||||||||||
id: filter | ||||||||||||||
with: | ||||||||||||||
|
@@ -38,9 +48,6 @@ jobs: | |||||||||||||
runs-on: ubuntu-latest | ||||||||||||||
needs: changes | ||||||||||||||
timeout-minutes: 60 | ||||||||||||||
concurrency: | ||||||||||||||
group: ${{ github.workflow }}-hive-tests-${{ github.event.pull_request.number }}-${{ matrix.java }} | ||||||||||||||
cancel-in-progress: true | ||||||||||||||
steps: | ||||||||||||||
- uses: actions/checkout@v4 | ||||||||||||||
if: needs.changes.outputs.codechange == 'true' | ||||||||||||||
|
@@ -92,9 +99,6 @@ jobs: | |||||||||||||
runs-on: ubuntu-latest | ||||||||||||||
needs: changes | ||||||||||||||
timeout-minutes: 20 | ||||||||||||||
concurrency: | ||||||||||||||
group: ${{ github.workflow }}-hive-dockerized-tests-${{ github.event.pull_request.number }}-${{ matrix.java }} | ||||||||||||||
cancel-in-progress: true | ||||||||||||||
steps: | ||||||||||||||
- uses: actions/checkout@v4 | ||||||||||||||
if: needs.changes.outputs.codechange == 'true' | ||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,6 +2,7 @@ name: kudu | |||||||||||||
|
||||||||||||||
on: | ||||||||||||||
pull_request: | ||||||||||||||
push: | ||||||||||||||
|
||||||||||||||
env: | ||||||||||||||
# An envar that signals to tests we are executing in the CI environment | ||||||||||||||
|
@@ -11,6 +12,13 @@ env: | |||||||||||||
MAVEN_FAST_INSTALL: "-B -V --quiet -T 1C -DskipTests -Dair.check.skip-all -Dmaven.javadoc.skip=true" | ||||||||||||||
RETRY: .github/bin/retry | ||||||||||||||
|
||||||||||||||
concurrency: | ||||||||||||||
group: "${{github.workflow}}-${{github.ref}}" | ||||||||||||||
|
||||||||||||||
# Cancel in-progress jobs for efficiency. Exclude the `main` branch so that each commit to main is | ||||||||||||||
# checked completely. | ||||||||||||||
cancel-in-progress: "${{github.ref != 'refs/heads/main'}}" | ||||||||||||||
|
||||||||||||||
jobs: | ||||||||||||||
changes: | ||||||||||||||
runs-on: ubuntu-latest | ||||||||||||||
|
@@ -21,7 +29,9 @@ jobs: | |||||||||||||
outputs: | ||||||||||||||
codechange: ${{ steps.filter.outputs.codechange }} | ||||||||||||||
steps: | ||||||||||||||
# For pull requests it's not necessary to checkout the code | ||||||||||||||
- uses: "actions/checkout@v4" | ||||||||||||||
with: | ||||||||||||||
submodules: "recursive" | ||||||||||||||
Comment on lines
+32
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix indentation for the checkout step Apply this diff: - - uses: "actions/checkout@v4"
- with:
- submodules: "recursive"
+ - uses: "actions/checkout@v4"
+ with:
+ submodules: "recursive" 📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 32-32: wrong indentation: expected 6 but found 4 (indentation) 🤖 Prompt for AI Agents
|
||||||||||||||
- uses: dorny/paths-filter@v2 | ||||||||||||||
id: filter | ||||||||||||||
with: | ||||||||||||||
|
@@ -36,9 +46,6 @@ jobs: | |||||||||||||
runs-on: ubuntu-latest | ||||||||||||||
needs: changes | ||||||||||||||
timeout-minutes: 60 | ||||||||||||||
concurrency: | ||||||||||||||
group: ${{ github.workflow }}-kudu-${{ github.event.pull_request.number }}-${{ matrix.java }} | ||||||||||||||
cancel-in-progress: true | ||||||||||||||
steps: | ||||||||||||||
- uses: actions/checkout@v4 | ||||||||||||||
if: needs.changes.outputs.codechange == 'true' | ||||||||||||||
|
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.