Skip to content

Commit c464323

Browse files
committed
working directory for sdk-platform-java tests
1 parent fbf6c2e commit c464323

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ jobs:
298298
distribution: temurin
299299
- run: java -version
300300
- name: Parse showcase version
301-
working-directory: java-showcase/gapic-showcase
301+
working-directory: sdk-platform-java/java-showcase/gapic-showcase
302302
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
303303
- name: Install showcase server
304304
run: |
@@ -310,15 +310,15 @@ jobs:
310310
./gapic-showcase run &
311311
cd -
312312
- name: Showcase integration tests
313-
working-directory: java-showcase
313+
working-directory: sdk-platform-java/java-showcase
314314
run: |
315315
mvn verify \
316316
-P enable-integration-tests \
317317
--batch-mode \
318318
--no-transfer-progress
319319
# The `slf4j1_logback` profile brings logging dependency and compiles logging tests, require env var to be set
320320
- name: Showcase integration tests - Logging SLF4J 1.x
321-
working-directory: java-showcase
321+
working-directory: sdk-platform-java/java-showcase
322322
run: |
323323
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j1_logback' \
324324
--batch-mode \
@@ -329,20 +329,20 @@ jobs:
329329
# The `disabledLogging` profile tests logging disabled when logging dependency present,
330330
# do not set env var for this step
331331
- name: Showcase integration tests - Logging disabed
332-
working-directory: java-showcase
332+
working-directory: sdk-platform-java/java-showcase
333333
run: |
334334
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,disabledLogging' \
335335
--batch-mode \
336336
--no-transfer-progress
337337
- name: Showcase integration tests - Protobuf gen code 3.25.8
338-
working-directory: java-showcase-3.25.8
338+
working-directory: sdk-platform-java/java-showcase-3.25.8
339339
run: |
340340
mvn verify \
341341
-P enable-integration-tests \
342342
--batch-mode \
343343
--no-transfer-progress
344344
- name: Showcase integration tests - Protobuf gen code 3.21.0
345-
working-directory: java-showcase-3.21.0
345+
working-directory: sdk-platform-java/java-showcase-3.21.0
346346
run: |
347347
mvn verify \
348348
-P enable-integration-tests \
@@ -366,14 +366,14 @@ jobs:
366366
run: |
367367
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip -Dfmt.skip
368368
- name: Showcase golden tests
369-
working-directory: java-showcase
369+
working-directory: sdk-platform-java/java-showcase
370370
run: |
371371
mvn test \
372372
-P enable-golden-tests \
373373
--batch-mode \
374374
--no-transfer-progress
375375
- name: Parse showcase version
376-
working-directory: java-showcase/gapic-showcase
376+
working-directory: sdk-platform-java/java-showcase/gapic-showcase
377377
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
378378
- name: Install showcase server
379379
run: |
@@ -385,15 +385,15 @@ jobs:
385385
./gapic-showcase run &
386386
cd -
387387
- name: Showcase integration tests
388-
working-directory: java-showcase
388+
working-directory: sdk-platform-java/java-showcase
389389
run: |
390390
mvn verify \
391391
-P enable-integration-tests \
392392
--batch-mode \
393393
--no-transfer-progress
394394
# The `slf4j2_logback` profile brings logging dependency and compiles logging tests, require env var to be set
395395
- name: Showcase integration tests - Logging SLF4J 2.x
396-
working-directory: java-showcase
396+
working-directory: sdk-platform-java/java-showcase
397397
run: |
398398
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j2_logback' \
399399
--batch-mode \
@@ -403,7 +403,7 @@ jobs:
403403
GOOGLE_SDK_JAVA_LOGGING: true
404404
# The `slf4j1_logback` profile brings logging dependency and compiles logging tests, require env var to be set
405405
- name: Showcase integration tests - Logging SLF4J 1.x
406-
working-directory: java-showcase
406+
working-directory: sdk-platform-java/java-showcase
407407
run: |
408408
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j1_logback' \
409409
--batch-mode \
@@ -414,13 +414,13 @@ jobs:
414414
# The `disabledLogging` profile tests logging disabled when logging dependency present,
415415
# do not set env var for this step
416416
- name: Showcase integration tests - Logging disabed
417-
working-directory: java-showcase
417+
working-directory: sdk-platform-java/java-showcase
418418
run: |
419419
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,disabledLogging' \
420420
--batch-mode \
421421
--no-transfer-progress
422422
- name: Showcase integration tests - Protobuf 3 compatibility with third party library Tensorflow
423-
working-directory: java-showcase
423+
working-directory: sdk-platform-java/java-showcase
424424
run: |
425425
mvn clean verify -P 'enable-integration-tests,protobuf3,showcase' \
426426
--batch-mode \
@@ -453,7 +453,7 @@ jobs:
453453
run: mvn install -B -ntp -T 1C -DskipTests
454454
# Showcase golden test ensures that src changes are already reflected in the PR.
455455
- name: Clirr check
456-
working-directory: java-showcase
456+
working-directory: sdk-platform-java/java-showcase
457457
run: |
458458
mvn versions:set -B -ntp -DnewVersion=local
459459
mvn clirr:check -B -ntp -DcomparisonVersion=$SHOWCASE_CLIENT_VERSION
@@ -493,7 +493,7 @@ jobs:
493493
- name: Unit Tests
494494
run: |
495495
mvn test --batch-mode --no-transfer-progress
496-
working-directory: java-shared-dependencies/unmanaged-dependency-check
496+
working-directory: sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
497497
- name: Install Maven modules
498498
run: |
499499
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip -Dfmt.skip
@@ -518,4 +518,4 @@ jobs:
518518
- name: Unit Tests
519519
run: |
520520
mvn test --batch-mode --no-transfer-progress
521-
working-directory: java-shared-dependencies/dependency-analyzer
521+
working-directory: sdk-platform-java/java-shared-dependencies/dependency-analyzer

0 commit comments

Comments
 (0)