Skip to content

Commit

Permalink
Run DataDog-related steps every time test-go CI workflow runs (#20364)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawi committed Apr 26, 2023
1 parent ac1cd58 commit 183a975
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,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"
Expand All @@ -286,6 +286,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:
Expand Down

0 comments on commit 183a975

Please sign in to comment.