Skip to content

Commit e290225

Browse files
committed
ci: explicitly install sdk-platform-java and snapshot bigquery/translate in pqc-tests workflow
1 parent 99cf802 commit e290225

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/pqc-tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,25 @@ jobs:
4040
cd google-http-java-client
4141
mvn clean install -DskipTests=true -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip
4242
43-
# 5. Build the entire monorepo core components required by the tests
44-
- name: Build and Install Core Dependency Reactor
43+
# 5. Build and Install sdk-platform-java core libraries first (establishes JCA dependencies in local Maven cache)
44+
- name: Build and Install sdk-platform-java Core
45+
run: |
46+
cd google-cloud-java-pqc/sdk-platform-java
47+
mvn clean install -T 1.5C -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -DskipTests=true
48+
49+
# 6. Build and Install snapshot bigquery, java-translate, and pqc-test targets
50+
- name: Build and Install Client Snapshot Libraries and Test Modules
4551
run: |
4652
cd google-cloud-java-pqc
47-
mvn clean install -pl sdk-platform-java,java-bigquery,java-translate,sdk-platform-java/pqc-test/pqc-test-snapshot,sdk-platform-java/pqc-test/pqc-test-release -am -T 1.5C -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -DskipTests=true
53+
mvn clean install -pl java-bigquery,java-translate,sdk-platform-java/pqc-test/pqc-test-snapshot,sdk-platform-java/pqc-test/pqc-test-release -am -T 1.5C -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -DskipTests=true
4854
49-
# 6. Run Snapshot PQC Tests (EXPECT PASS)
55+
# 7. Run Snapshot PQC Tests (EXPECT PASS)
5056
- name: Run Snapshot PQC Connectivity Tests (Expect PASS)
5157
run: |
5258
cd google-cloud-java-pqc/sdk-platform-java/pqc-test/pqc-test-snapshot
5359
mvn install -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -Dtest=RunPqcTest
5460
55-
# 7. Run Release PQC Tests (EXPECT FAIL)
61+
# 8. Run Release PQC Tests (EXPECT FAIL)
5662
- name: Run Release PQC Connectivity Tests (Expect FAIL)
5763
# We expect this step to fail. If it passes, it means release libraries are negotiating PQC (which is incorrect).
5864
# Thus we run it and assert that the maven command fails (exit code != 0).

0 commit comments

Comments
 (0)