Skip to content

Commit

Permalink
fix: GH CICD workflow with TF_ACC
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Jul 13, 2023
1 parent 03b4e95 commit 5ab3ed0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reuse-zia-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
required: true
ZIA_CLOUD:
required: true
TF_ACC:
required: true

jobs:
zia-test:
Expand All @@ -39,6 +41,7 @@ jobs:
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}
TF_ACC: ${{ secrets.TF_ACC }}
run: |
go test -v -cover ./zia -v -parallel 30 -timeout 120m
go mod vendor && go mod tidy
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}

TF_ACC: ${{ secrets.TF_ACC }}
zs3-tests:
uses: ./.github/workflows/reuse-zia-tests.yml
with:
Expand All @@ -38,7 +38,7 @@ jobs:
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}

TF_ACC: ${{ secrets.TF_ACC }}
zs-beta-tests:
uses: ./.github/workflows/reuse-zia-tests.yml
with:
Expand All @@ -48,4 +48,5 @@ jobs:
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}
TF_ACC: ${{ secrets.TF_ACC }}

0 comments on commit 5ab3ed0

Please sign in to comment.