diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index bc7178c213c9..d0eeeeed81ff 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -171,7 +171,7 @@ jobs: \ ${test_packages[${{ matrix.runner-index }}]} - name: Prepare datadog-ci - if: github.repository == 'hashicorp/vault' + if: github.repository == 'hashicorp/vault' && always() continue-on-error: true run: | curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64" --output "/usr/local/bin/datadog-ci" @@ -185,6 +185,7 @@ jobs: export DATADOG_API_KEY=${{ secrets.DATADOG_API_KEY }} fi datadog-ci junit upload --service "$GITHUB_REPOSITORY" test-results/go-test/results.xml + if: always() - name: Archive test results uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce with: