-
Notifications
You must be signed in to change notification settings - Fork 26
67 lines (64 loc) · 1.88 KB
/
full-convergence-check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
on:
push:
branches:
- main
pull_request:
name: ci
jobs:
bom-content-test:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: maven
- run: java -version
- name: Install BOMs
run: |
mvn -B -V -ntp install
- name: Ensure the members of the Libraries BOM exist in Maven Central
uses: ./tests/validate-bom
with:
bom-path: libraries-bom/pom.xml
- name: Ensure the BOM has valid content (at releases)
if: github.head_ref == 'release-please--branches--main'
run: |
mvn -B -V -ntp verify -Dtest="BomContentTest#testLibrariesBom"
working-directory: tests
bom-assertion-test:
name: BomContentAssertionsTest (Test for assertion logic in BomContentTest)
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
- run: java -version
- name: Install BOMs
run: |
mvn -B -V -ntp install
- run: |
mvn -B -V -ntp verify -Dtest="BomContentAssertionsTest"
working-directory: tests
full-dependencies-convergence:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
- run: java -version
- name: Install BOMs
run: |
mvn -B -V -ntp install
- name: Validate dependency convergence of library dependencies in the Google Cloud BOM
run: |
mvn -B -V -ntp validate
working-directory: tests/dependency-convergence