Skip to main content

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

NameDescriptionDefaultRequired
sourceDirThe directory containing the source code to test.true