Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfmnk committed Aug 12, 2024
1 parent 09389d7 commit 6879a64
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
name: Tests

env:
TF_ACC: "1"
CLOUDCONNEXA_TEST_ORGANIZATION: ${{ vars.CLOUDCONNEXA_TEST_ORGANIZATION }}
CLOUDCONNEXA_CLIENT_ID: ${{ secrets.CLOUDCONNEXA_CLIENT_ID }}
CLOUDCONNEXA_CLIENT_SECRET: ${{ secrets.CLOUDCONNEXA_CLIENT_SECRET }}

on:
pull_request:
branches:
Expand Down Expand Up @@ -38,6 +45,7 @@ jobs:
# run acceptance tests in a matrix with Terraform core versions
test:
name: Matrix Test
environment: TestingEnv
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
Expand All @@ -64,10 +72,5 @@ jobs:
go mod download
- name: TF acceptance tests
timeout-minutes: 10
env:
TF_ACC: "1"
CLOUDCONNEXA_TEST_ORGANIZATION: "terraform-community"
CLOUDCONNEXA_CLIENT_ID: ${{ secrets.CLOUDCONNEXA_CLIENT_ID }}
CLOUDCONNEXA_CLIENT_SECRET: ${{ secrets.CLOUDCONNEXA_CLIENT_SECRET }}
run: |
go test -v -cover ./cloudconnexa

0 comments on commit 6879a64

Please sign in to comment.