Skip to content

Run Tests

Run Tests #2

Workflow file for this run

name: Run Tests
on:
push:
branches:
- '**'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_CIVISIBILITY_AGENTLESS_ENABLED: true
DD_SERVICE: close-the-deal-tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm ci
- name: Setup web app
run: npm run serve-app &
- name: Run tests
run: |
NODE_OPTIONS="-r dd-trace/ci/init" DD_ENV=test-roca DD_SERVICE=close-the-deal-test npm test
continue-on-error: true
env:
NODE_OPTIONS: -r dd-trace/ci/init
- name: Check quality gate
run: |
npx @datadog/datadog-ci gate evaluate