Automated Controls Catalog Tests - Demo Only #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Controls Testing Workflow - PR" | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: # Can expand on this later if we'd like to | |
run-terraform-apply: | |
uses: ./.github/workflows/controls_terraform_apply.yml | |
permissions: | |
pull-requests: write | |
contents: read | |
secrets: inherit | |
# Once all has been applied, execute the python script for testing/validation | |
run-storage-behave-tests: | |
uses: ./.github/workflows/controls_behave_testing_storage.yml | |
needs: run-terraform-apply | |
permissions: | |
pull-requests: write | |
contents: read | |
secrets: inherit | |
# Then, tear resources down | |
run-terraform-destroy: | |
uses: ./.github/workflows/controls_terraform_destroy.yml | |
needs: run-storage-behave-tests | |
permissions: | |
pull-requests: write | |
contents: read | |
secrets: inherit |