Skip to content

Commit

Permalink
chore: Improve DD JUnit upload command (WPB-3489) (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonMrozek committed Jul 28, 2023
1 parent 2c70f21 commit e93fda7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
run: npm install -g @datadog/datadog-ci
- name: "Upload results"
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DATADOG_API_KEY: ${{ secrets.DD_API_KEY }}
DD_ENV: ci
DATADOG_SITE: datadoghq.eu
run: |
DATADOG_API_KEY="${DD_API_KEY}" DD_ENV=ci DATADOG_SITE=datadoghq.eu datadog-ci junit upload --service wire-android ./artifacts/test-results/**/*.xml
find ./artifacts -name "*.xml" -type f | tr '\n' ' ' | xargs -L 1 datadog-ci junit upload --service wire-android-reloaded .

0 comments on commit e93fda7

Please sign in to comment.