Skip to content

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths:
- '**.rs'
- '**.toml'
- '.github/workflows/tests.yml'
tags:
- '*'
pull_request:
branches:
- main
permissions: {}
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
#- os: macos-latest
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project1/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project2/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project3/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project4/
- os: ubuntu-latest
env:
NONE: ''
chdir: ./test_dir/project1/
- os: ubuntu-latest
env:
NONE: ''
chdir: ./test_dir/project2/
- os: ubuntu-latest
env:
NONE: ''
chdir: ./test_dir/project3/
- os: ubuntu-latest
env:
NONE: ''
chdir: ./test_dir/project4/
- os: ubuntu-latest
env:
TFEXE: tofu
chdir: ./test_dir/project1/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project2/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project3/
- os: ubuntu-latest
env:
TFEXE: terraform
chdir: ./test_dir/project4/
steps:
- uses: actions/checkout@v3
- run:
- run: cargo run -- -chdir=${{ matrix.chdir }} init
env: ${{ matrix.env }}