Skip to content

Commit

Permalink
chore: Upload unit tests reports to DataDog (WPB-3489) (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonMrozek authored Jul 26, 2023
1 parent 087110b commit 35bc54c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,14 @@ jobs:
CHECKS_LINK="https://github.com/wireapp/wire-android-reloaded/actions/runs/${{ github.event.workflow_run.id }}"
PR_NUMBER=$(jq --raw-output .pull_request.number "$EVENT_FILE_PATH")
gh pr comment "$PR_NUMBER" --body "APKs built during tests are available [here]($CHECKS_LINK). Scroll down to **Artifacts**!"
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install datadog-ci
run: npm install -g @datadog/datadog-ci
- name: "Upload results"
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
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

0 comments on commit 35bc54c

Please sign in to comment.