From 2d0f7769f510eac0fb089ff7b8fab98080f65467 Mon Sep 17 00:00:00 2001 From: Aaron Robinson <41325732+ASTRobinson@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:26:33 +0100 Subject: [PATCH] Update go-terratest.yml see https://github.com/ministryofjustice/modernisation-platform-terraform-pagerduty-integration/pull/394 --- .github/workflows/go-terratest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go-terratest.yml b/.github/workflows/go-terratest.yml index 258e635..e09d48f 100644 --- a/.github/workflows/go-terratest.yml +++ b/.github/workflows/go-terratest.yml @@ -29,4 +29,5 @@ jobs: working-directory: test run: | chmod 700 ../scripts/redact-output.sh - go test -v | ../scripts/redact-output.sh + go test -v | tee >(../scripts/redact-output.sh) + exit ${PIPESTATUS[0]}