GitHub Action: terratest
A GitHub Action to run Terratest tests and post the results as a build artifact.
Usage
name: Pull Request
on:
pull_request:
branches: [ 'main' ]
types: [opened, synchronize, reopened, closed, labeled, unlabeled]
jobs:
context:
runs-on: ubuntu-latest
steps:
- name: Run 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 |