Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 096edd2

Browse files
committed
Add datadog reporting for front-end tests
1 parent 4a51c05 commit 096edd2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/coder.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,11 @@ jobs:
262262
files: ./site/coverage/lcov.info
263263
flags: unittest-js
264264
fail_ci_if_error: true
265+
266+
- name: Upload DataDog Trace
267+
if: (success() || failure()) && github.actor != 'dependabot[bot]'
268+
env:
269+
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
270+
DD_DATABASE: postgresql
271+
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
272+
run: go run scripts/datadog-cireport/main.go site/test_results/junit.xml

0 commit comments

Comments
 (0)