Skip to main content

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

NameDescriptionDefaultRequired
sourceDirThe directory containing the source code to test.true