Skip to content

Commit fc80c7b

Browse files
authored
chore: Fix dependency CI tests (#3883)
``` Error: Unable to process file command 'env' successfully. Error: format '[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.cloud:google-cloud-shared-dependencies:pom:3.51.1-SNAPSHOT (absent): Could not find artifact com.google.cloud:google-cloud-shared-dependencies:pom:3.51.1-SNAPSHOT @ com.google.cloud:gapic-showcase-parent:0.0.1-SNAPSHOT, /home/runner/work/sdk-platform-java/sdk-platform-java/java-showcase/pom.xml, line 32, column 19' ``` Complaining about not being able to retrieve shared-deps
1 parent 210464d commit fc80c7b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/dependency_compatibility_test.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
else
4343
./.github/scripts/test_dependency_compatibility.sh
4444
fi
45+
46+
# Install the modules for showcase (Shared-Deps is required to run showcase)
47+
- name: Install sdk-platform-java's modules
48+
# gapic-generator-java requires Java 8 and is irrelevant for this CI
49+
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -Dcheckstyle.skip -Dfmt.skip -DskipTests -Dclirr.skip -T 1C
50+
4551
# Set up local showcase server to run the showcase ITs
4652
- name: Parse showcase version
4753
working-directory: java-showcase/gapic-showcase
@@ -56,11 +62,7 @@ jobs:
5662
./gapic-showcase run &
5763
cd -
5864
59-
# Install the modules for showcase (Shared-Deps is required to run showcase)
60-
- name: Install sdk-platform-java's modules
61-
# gapic-generator-java requires Java 8 and is irrelevant for this CI
62-
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -Dcheckstyle.skip -Dfmt.skip -DskipTests -Dclirr.skip -T 1C
63-
# Run specifically for showcase
65+
# Run Showcase's Integration Tests
6466
- name: Perform Dependency Compatibility Testing (Showcase only)
6567
shell: bash
6668
# Need to cd out of the directory to get the scripts as this step is run inside the java-showcase directory

0 commit comments

Comments
 (0)