Skip to content

Commit e43b841

Browse files
authored
Run diff-processor unit tests with TPGB as well (GoogleCloudPlatform#10323)
1 parent 17740c9 commit e43b841

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/unit-tests-diff-processor.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
pull_request:
77
paths:
88
- 'tools/diff-processor/**'
9+
- '.github/workflows/unit-tests-diff-processor.yml'
910

1011
jobs:
1112
test:
@@ -18,13 +19,24 @@ jobs:
1819
with:
1920
go-version: '^1.21.0'
2021

21-
- name: Build
22+
- name: Build with TPG
2223
run: |
2324
cd tools/diff-processor
2425
make clone OWNER_REPO=hashicorp/terraform-provider-google DEPTH=1
2526
make build OLD_REF=main NEW_REF=main
2627
27-
- name: Test
28+
- name: Test with TPG
29+
run: |
30+
cd tools/diff-processor
31+
go test -v ./...
32+
33+
- name: Build with TPGB
34+
run: |
35+
cd tools/diff-processor
36+
make clone OWNER_REPO=hashicorp/terraform-provider-google-beta DEPTH=1
37+
make build OLD_REF=main NEW_REF=main
38+
39+
- name: Test with TPGB
2840
run: |
2941
cd tools/diff-processor
3042
go test -v ./...

0 commit comments

Comments
 (0)