Skip to content

Commit

Permalink
test: Work on adding automated OpenTofu testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Feb 1, 2024
1 parent ce9c341 commit 56501ef
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,12 @@ jobs:
--proto '=https' \
--tlsv1.2 \
-fsSL \
-o ${{ runner.temp }}/install-opentofu.sh \
https://get.opentofu.org/install-opentofu.sh
-o ${{ runner.temp }}/tofu-${{ matrix.opentofu_version }}.zip \
https://github.com/opentofu/opentofu/releases/download/v${{ matrix.opentofu_version }}/tofu_${{ matrix.opentofu_version }}_linux_amd64.zip
chmod +x ${{ runner.temp }}/install-opentofu.sh
unzip -d ${{ runner.temp }}/tofu-${{ matrix.opentofu_version }} ${{ runner.temp }}/tofu-${{ matrix.opentofu_version }}.zip
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} ${{ runner.temp }}/install-opentofu.sh \
--skip-verify \
--install-method standalone \
--install-path ${{ runner.temp }}/${{ matrix.opentofu_version }} \
--opentofu-version ${{ matrix.opentofu_version }} \
--debug
ls -lahF ${{ runner.temp }}/
- name: Run acceptance tests
env:
Expand Down

0 comments on commit 56501ef

Please sign in to comment.