Skip to content

Commit 32218c2

Browse files
committed
fixing tests
1 parent a6ff347 commit 32218c2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/sdk-platform-java-ci.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,15 @@ jobs:
416416
java-version: 17
417417
distribution: temurin
418418
cache: maven
419-
- name: Install sdk-platform-java and showcase to local maven repository
419+
- name: Install Maven modules
420+
run: |
421+
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip -Dfmt.skip
422+
- name: Install showcase to local maven repository
420423
run: |
421-
mvn install -B -ntp -T 1C -DskipTests
422-
cd java-showcase
423424
mvn install -B -ntp -T 1C -DskipTests
424425
SHOWCASE_CLIENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
425426
echo "SHOWCASE_CLIENT_VERSION=$SHOWCASE_CLIENT_VERSION" >> "$GITHUB_ENV"
427+
working-directory: sdk-platform-java/java-showcase
426428
- name: Checkout sdk-platform-java @ PR merge commit
427429
uses: actions/checkout@v3
428430
- name: Install sdk-platform-java @ PR merge commit
@@ -451,7 +453,7 @@ jobs:
451453
- name: Validate gapic-generator-java-bom
452454
uses: googleapis/java-cloud-bom/tests/validate-bom@47ad868794c5d38ee7eb95d69371a7a79f84d890
453455
with:
454-
bom-path: gapic-generator-java-bom/pom.xml
456+
bom-path: sdk-platform-java/gapic-generator-java-bom/pom.xml
455457

456458
unmanaged_dependency_check:
457459
needs: filter
@@ -474,9 +476,9 @@ jobs:
474476
run: |
475477
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip -Dfmt.skip
476478
- name: Unmanaged dependency check
477-
uses: ./java-shared-dependencies/unmanaged-dependency-check
479+
uses: ./sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
478480
with:
479-
bom-path: gapic-generator-java-bom/pom.xml
481+
bom-path: sdk-platform-java/gapic-generator-java-bom/pom.xml
480482

481483
dependency_analyzer_unit_test:
482484
needs: filter

0 commit comments

Comments
 (0)