Skip to content

sentry test upload

sentry test upload #10

Workflow file for this run

name: Acceptance Tests
permissions:
id-token: write
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, windows]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npx vitest run test/testdriver/*.test.mjs --reporter=junit --outputFile=test-report.junit.xml
env:
TD_API_KEY: ${{ secrets.TD_API_KEY }}
TD_OS: ${{ matrix.os }}
- name: Upload test results to Sentry Prevent
if: ${{ !cancelled() }}
uses: getsentry/prevent-action@v0