From 6d1e1bbdb82fe30e6039785025d51700fa6457e7 Mon Sep 17 00:00:00 2001 From: Aaron Robinson <41325732+ASTRobinson@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:38:35 +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]}