This is an automated email from the ASF dual-hosted git repository.
abhishek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new c04a36d15b Run IntelliJ-inspections in parallel to static-checks &
web-checks in GHA (#14515)
c04a36d15b is described below
commit c04a36d15b15ea0f2fea92d756a02335b5dbbb4b
Author: Tejaswini Bandlamudi <[email protected]>
AuthorDate: Mon Jul 3 17:10:19 2023 +0530
Run IntelliJ-inspections in parallel to static-checks & web-checks in GHA
(#14515)
Currently, IntelliJ-inspections are run sequentially w.r.t static-checks,
thereby increasing build time. Moving IntelliJ-inspections to a separate job to
improve builds time and get a quick insight into such issues early on.
---
.github/workflows/static-checks.yml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/static-checks.yml
b/.github/workflows/static-checks.yml
index da4a747840..b74e981add 100644
--- a/.github/workflows/static-checks.yml
+++ b/.github/workflows/static-checks.yml
@@ -122,8 +122,25 @@ jobs:
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} spotbugs:check --fail-at-end -pl '!benchmarks'
+ intellij-inspections:
+ strategy:
+ fail-fast: false
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout branch
+ uses: actions/checkout@v3
+
+ - name: setup JDK8
+ run: |
+ echo "JAVA_HOME=$JAVA_HOME_8_X64" >> $GITHUB_ENV
+
+ - name: maven install
+ run: |
+ echo 'Running Maven install...' &&
+ ${MVN} clean install -q -ff -pl
'!distribution,!:druid-it-image,!:druid-it-cases' ${MAVEN_SKIP}
${MAVEN_SKIP_TESTS} -T1C &&
+ ${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP}
${MAVEN_SKIP_TESTS}
+
- name: intellij inspections
- if: ${{ matrix.java == 'jdk8' }}
run: |
docker run --rm \
-v $(pwd):/project \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]