Skip to content

Commit 6f01eed

Browse files
committed
test: add all handwritten libraries to downstream checks
1 parent 3416405 commit 6f01eed

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

.github/workflows/downstream-maven-plugins.yaml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,25 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
java: [8, 11]
17+
java: [8, 11, 17, 21]
1818
repo:
1919
- java-bigquery
2020
- java-bigtable
21+
- java-storage
22+
- java-storage-nio
23+
- java-spanner
24+
- java-spanner-jdbc
25+
- java-pubsub
26+
- java-pubsublite
27+
- java-logging
28+
- java-logging-logback
29+
- java-firestore
30+
- java-datastore
31+
- java-bigquerystorage
2132
job-type:
2233
- test # maven-surefire-plugin
2334
- lint # fmt-maven-plugin and google-java-format
2435
- clirr # clirr-maven-plugin
25-
- javadoc # maven-javadoc-plugin
26-
- javadoc-with-doclet # test javadoc generation with doclet
2736
steps:
2837
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2938
- uses: actions/setup-java@v4
@@ -39,6 +48,7 @@ jobs:
3948
strategy:
4049
fail-fast: false
4150
matrix:
51+
java: [17] # Run only on Java 17 as that's what c.g.c. generation uses
4252
repo:
4353
- java-bigtable
4454
- java-bigquery
@@ -53,13 +63,21 @@ jobs:
5363
- java-firestore
5464
- java-datastore
5565
- java-bigquerystorage
66+
job-type:
67+
- javadoc # maven-javadoc-plugin
68+
- javadoc-with-doclet # test c.g.c. - specific documentation generation
5669
steps:
5770
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5871
- uses: actions/setup-java@v4
5972
with:
6073
distribution: temurin
61-
java-version: 17
74+
java-version: ${{matrix.java}}
6275
- run: java -version
6376
- run: sudo apt-get update -y
6477
- run: sudo apt-get install libxml2-utils
65-
- run: .kokoro/client-library-check-doclet.sh ${{matrix.repo}}
78+
- run: | # Conditional logic based on job-type
79+
if [[ ${{matrix.job-type}} == 'javadoc' ]] ; then
80+
.kokoro/client-library-check.sh ${{matrix.repo}} ${{matrix.job-type}}
81+
elif [[ ${{matrix.job-type}} == 'javadoc-with-doclet' ]] ; then
82+
.kokoro/client-library-check-doclet.sh ${{matrix.repo}}
83+
fi

0 commit comments

Comments
 (0)