Skip to content

Commit

Permalink
test: validation for gapic-generator-java-bom (#1629)
Browse files Browse the repository at this point in the history
* test: validation for gapic-generator-java-bom
  • Loading branch information
suztomo authored Apr 17, 2023
1 parent 0019c92 commit eee46fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \
-Dfmt.skip -DenableTestCoverage
- run: bazelisk version
- name: Install maven modules
- name: Install Maven modules
run: |
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
- name: Integration Tests
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
java-version: ${{ matrix.java }}
distribution: temurin
- run: mvn -version
- name: Install maven modules
- name: Install Maven modules
run: |
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
- name: Java Linter
Expand Down Expand Up @@ -218,3 +218,19 @@ jobs:
-P enable-integration-tests \
--batch-mode \
--no-transfer-progress
gapic-generator-java-bom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
cache: maven
- name: Install Maven modules to local Maven repository
run: |
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
- name: Validate gapic-generator-java-bom
uses: googleapis/java-cloud-bom/tests/validate-bom@main
with:
bom-path: gapic-generator-java-bom/pom.xml
2 changes: 1 addition & 1 deletion gapic-generator-java-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@

</dependencyManagement>

</project>
</project>

0 comments on commit eee46fe

Please sign in to comment.