Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,22 @@ jobs:
- uses: opentofu/setup-opentofu@9d84900f3238fab8cd84ce47d658d25dd008be2f # v1.0.8
with:
tofu_version: ${{ matrix.opentofu-version }}
tofu_wrapper: false
# Point the test framework at the tofu binary. Without this it tries to
# DOWNLOAD Terraform CLI, which currently fails in hc-install v0.6.3
# ("openpgp: key expired" — stale HashiCorp release-signing key), and the
# job would not actually be testing OpenTofu anyway.
- name: Resolve OpenTofu binary path
id: tofu-path
run: echo "path=$(which tofu)" >> "$GITHUB_OUTPUT"
- name: Run acceptance test
env:
CLOUDSTACK_USER_ID: ${{ steps.setup-cloudstack.outputs.CLOUDSTACK_USER_ID }}
CLOUDSTACK_API_KEY: ${{ steps.setup-cloudstack.outputs.CLOUDSTACK_API_KEY }}
CLOUDSTACK_SECRET_KEY: ${{ steps.setup-cloudstack.outputs.CLOUDSTACK_SECRET_KEY }}
TF_ACC_TERRAFORM_PATH: ${{ steps.tofu-path.outputs.path }}
TF_ACC_PROVIDER_NAMESPACE: hashicorp
TF_ACC_PROVIDER_HOST: registry.opentofu.org
run: |
make testacc
services:
Expand Down
Loading