GitHub Action: terratest
A GitHub Action to run Terratest tests and post the results as a build artifact.
Usage
name: github-action-terratest
on:
pull_request:
branches: [ 'main' ]
types: [opened, synchronize, reopened, closed, labeled, unlabeled]
jobs:
context:
runs-on: ubuntu-latest
steps:
- name: github-action-terratest
uses: cloudposse/github-action-terratest@main
with:
sourceDir: test/src
Inputs
Name | Description | Default | Required |
---|---|---|---|
sourceDir | The directory containing the source code to test | . | true |