Skip to content

Commit 28a043e

Browse files
committed
ci: surface go test failures past tee with set -o pipefail
Without pipefail, the pipeline's exit code is tee's, masking go test failures and producing false-green workflow runs.
1 parent 2e07cc4 commit 28a043e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/azure-integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
7777
ARM_USE_OIDC: "true"
7878
run: |
79+
set -o pipefail
7980
mkdir -p /tmp/logs
8081
# Scope: OIDC-compatible examples only (AzureRM provider >= 3.7).
8182
# Examples on AzureRM 2.x cannot authenticate via OIDC and are

0 commit comments

Comments
 (0)