From b11023332d96b713c9f5983c456f2e99406bd7b0 Mon Sep 17 00:00:00 2001 From: John Collinson Date: Sun, 15 Sep 2024 22:26:20 +0100 Subject: [PATCH] Update terratest ci step. --- .github/workflows/ci-pipeline.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-pipeline.yaml b/.github/workflows/ci-pipeline.yaml index 046cf68..4159af0 100644 --- a/.github/workflows/ci-pipeline.yaml +++ b/.github/workflows/ci-pipeline.yaml @@ -40,21 +40,15 @@ jobs: terraform test working-directory: tests/integration-tests - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: '^1.23.1' - - name: Login to Azure uses: azure/login@v1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Run End to End Tests - run: | - go mod tidy - go test -v -timeout 10m - working-directory: tests/end-to-end-tests + uses: cloudposse/github-action-terratest@main + with: + sourceDir: tests/end-to-end-tests static-code-analysis: name: Static Code Analysis