From 9e5ddd1d029d3b67b7bcffd005cb944200bd7098 Mon Sep 17 00:00:00 2001 From: seaerchin Date: Tue, 24 Sep 2024 12:18:45 +0800 Subject: [PATCH] chore: add dd test harness --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b634d1b9..ac642194e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,15 @@ jobs: path: ~/.npm key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} - run: npm ci - - run: npm run test:docker + - run: npm run test:docker + - name: Configure Datadog Test Visibility + env: + DD_API_KEY: ${{ secrets.DD_API_KEY }} + uses: datadog/test-visibility-github-action@v1 + with: + languages: js + service: isomer + api_key: ${{ secrets.DD_API_KEY }} - run: . .env.test && npx jest --runInBand gatekeep: @@ -188,4 +196,4 @@ jobs: if: needs.gatekeep.outputs.proceed == 'true' uses: ./.github/workflows/deploy_prod.yml secrets: inherit - \ No newline at end of file +