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]}