Skip to content

Improvement for CICD acceptance tests #36

@littlejo

Description

@littlejo

My code is:

      - uses: opentofu/setup-opentofu@v1
        with:
          tofu_wrapper: false
      - run: go mod download
      - env:
          TF_ACC: "1"
          TF_ACC_PROVIDER_NAMESPACE: "hashicorp"
          TF_ACC_PROVIDER_HOST: "registry.opentofu.org"
        run: TF_ACC_TERRAFORM_PATH=$(which tofu) go test -v -cover ./cilium
        timeout-minutes: 10

Could you create automatically the environment variables?

Like that, my code would be clean:

      - uses: opentofu/setup-opentofu@v1
        with:
          tofu_wrapper: false
          acceptance_test: true
      - run: go mod download
      - run: go test -v -cover ./cilium
        timeout-minutes: 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededjavascriptPull requests that update javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions