Skip to content

Commit d4fde94

Browse files
[Tool] Optimize FE UT includes in CI pipeline (StarRocks#70253)
Signed-off-by: alvin-celerdata <alvin.zhao@celerdata.com>
1 parent 31bf2bd commit d4fde94

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ci-pipeline-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ jobs:
309309
- 'fe/**'
310310
- 'gensrc/**'
311311
- 'run-fe-ut.sh'
312+
- 'run-java-exts-ut.sh'
312313
- 'java-extensions/**'
313-
- 'build.sh'
314314
315315
- run: echo ${{ steps.changes.outputs.fe }}
316316

@@ -338,7 +338,7 @@ jobs:
338338
with:
339339
filters: |
340340
java:
341-
- '**.java'
341+
- 'fe/**/*.java'
342342
343343
- run: echo ${{ steps.java-file.outputs.java }}
344344

.github/workflows/ci-pipeline.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,17 +495,20 @@ jobs:
495495
- 'fe/!(**/test/**)**'
496496
- 'gensrc/**'
497497
- 'java-extensions/**'
498-
- 'build.sh'
499-
- '**/pom.xml'
500498
ut:
501499
- 'fe/**/test/**'
502500
- 'run-fe-ut.sh'
501+
- 'run-java-exts-ut.sh'
503502
java:
504-
- '**.java'
503+
- 'fe/**/*.java'
505504
extension:
506505
- 'java-extensions/**'
506+
- 'run-java-exts-ut.sh'
507507
pom:
508-
- '**/pom.xml'
508+
- 'fe/pom.xml'
509+
- 'fe/**/pom.xml'
510+
- 'java-extensions/pom.xml'
511+
- 'java-extensions/**/pom.xml'
509512
510513
- name: Prepare info
511514
run: |

0 commit comments

Comments
 (0)