Skip to content

OpenTofu Installer

OpenTofu Installer #75

Workflow file for this run

name: Test
on:
pull_request:
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: true
matrix:
distro: [alpine, debian, fedora, opensuse, rocky, ubuntu]
method: [brew, repo, standalone]
shell: [ash, bash, dash, ksh, zsh]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Cosign
uses: sigstore/[email protected]
- name: Test
env:
DISTRO: ${{ matrix.distro }}
METHOD: ${{ matrix.method }}
SH: ${{ matrix.shell }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: tests/linux
run: ./test.sh
macos:
name: MacOS
runs-on: macos-latest
strategy:
fail-fast: true
matrix:
method: [brew, standalone]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Cosign
uses: sigstore/[email protected]
- name: Test
working-directory: tests/macos
run: ./${{ matrix.method }}.sh
widows:
name: Windows
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
method: [standalone]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Cosign
uses: sigstore/[email protected]
- name: Test
working-directory: tests\windows
run: .\test.ps1 -method "${{ matrix.method }}"