Skip to content

Commit dfe0c7c

Browse files
committed
Upload E2E test results to DataDog
1 parent 94c7684 commit dfe0c7c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/coder.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,11 @@ jobs:
334334

335335
- run: yarn playwright:test
336336
working-directory: site
337-
337+
338+
- name: Upload DataDog Trace
339+
if: (success() || failure()) && github.actor != 'dependabot[bot]' && runner.os == 'Linux'
340+
env:
341+
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
342+
DD_DATABASE: e2e
343+
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
344+
run: go run scripts/datadog-cireport/main.go site/test_results/junit.xml

0 commit comments

Comments
 (0)