Skip to content

Commit

Permalink
Run diff-processor unit tests with TPGB as well (GoogleCloudPlatform#…
Browse files Browse the repository at this point in the history
  • Loading branch information
melinath authored Apr 2, 2024
1 parent 17740c9 commit e43b841
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/unit-tests-diff-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
paths:
- 'tools/diff-processor/**'
- '.github/workflows/unit-tests-diff-processor.yml'

jobs:
test:
Expand All @@ -18,13 +19,24 @@ jobs:
with:
go-version: '^1.21.0'

- name: Build
- name: Build with TPG
run: |
cd tools/diff-processor
make clone OWNER_REPO=hashicorp/terraform-provider-google DEPTH=1
make build OLD_REF=main NEW_REF=main
- name: Test
- name: Test with TPG
run: |
cd tools/diff-processor
go test -v ./...
- name: Build with TPGB
run: |
cd tools/diff-processor
make clone OWNER_REPO=hashicorp/terraform-provider-google-beta DEPTH=1
make build OLD_REF=main NEW_REF=main
- name: Test with TPGB
run: |
cd tools/diff-processor
go test -v ./...

0 comments on commit e43b841

Please sign in to comment.