Skip to content

Commit a143353

Browse files
committed
add sentry test analytics
1 parent 9c2d1e2 commit a143353

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/acceptance.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ jobs:
2727
run: npm ci
2828

2929
- name: Run tests
30-
run: npx vitest run test/testdriver/*.test.mjs
30+
run: npx vitest run test/testdriver/*.test.mjs --reporter=junit --outputFile=test-report.junit.xml
3131
env:
3232
TD_API_KEY: ${{ secrets.TD_API_KEY }}
3333
TD_OS: ${{ matrix.os }}
34+
- name: Upload test results to Sentry Prevent
35+
if: ${{ !cancelled() }}
36+
uses: getsentry/prevent-action@v0
37+
with:
38+
token: ${{ secrets.SENTRY_PREVENT_TOKEN }}

0 commit comments

Comments
 (0)