Skip to content

Commit

Permalink
updates GH workflow with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
id27182 committed Nov 8, 2024
1 parent 4805859 commit 45a1004
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Test

run-name: ${{ github.actor }} - ${{ github.ref_name }}

on:
workflow_dispatch:
pull_request:
Expand All @@ -10,11 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: 'Run code analysis'
shell: pwsh
run: scripts/test-code.ps1
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.8.4

- name: 'Run test script'
- name: 'Test terraform plan'
shell: pwsh
run: scripts/validate-artifacts.ps1
run: tests/test-tf-plan.ps1

0 comments on commit 45a1004

Please sign in to comment.