@@ -344,15 +344,6 @@ jobs:
344
344
fi
345
345
gotestsum --junitfile="gotests.xml" --packages="./..." -- -parallel=8 -timeout=$test_timeout -short -failfast $COVERAGE_FLAGS
346
346
347
- - name : Upload DataDog Trace
348
- if : github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
349
- env :
350
- DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
351
- DD_DATABASE : fake
352
- DD_CATEGORY : unit
353
- GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
354
- run : go run scripts/datadog-cireport/main.go gotests.xml
355
-
356
347
- uses : codecov/codecov-action@v3
357
348
# This action has a tendency to error out unexpectedly, it has
358
349
# the `fail_ci_if_error` option that defaults to `false`, but
@@ -414,14 +405,6 @@ jobs:
414
405
- name : Test with PostgreSQL Database
415
406
run : make test-postgres
416
407
417
- - name : Upload DataDog Trace
418
- if : always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
419
- env :
420
- DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
421
- DD_DATABASE : postgresql
422
- GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
423
- run : go run scripts/datadog-cireport/main.go gotests.xml
424
-
425
408
- uses : codecov/codecov-action@v3
426
409
# This action has a tendency to error out unexpectedly, it has
427
410
# the `fail_ci_if_error` option that defaults to `false`, but
@@ -548,11 +531,6 @@ jobs:
548
531
restore-keys : |
549
532
js-${{ runner.os }}-
550
533
551
- # Go is required for uploading the test results to datadog
552
- - uses : actions/setup-go@v3
553
- with :
554
- go-version : " ~1.19"
555
-
556
534
- uses : actions/setup-node@v3
557
535
with :
558
536
node-version : " 14"
@@ -575,14 +553,6 @@ jobs:
575
553
files : ./site/coverage/lcov.info
576
554
flags : unittest-js
577
555
578
- - name : Upload DataDog Trace
579
- if : always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
580
- env :
581
- DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
582
- DD_CATEGORY : unit
583
- GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
584
- run : go run scripts/datadog-cireport/main.go site/test-results/junit.xml
585
-
586
556
test-e2e :
587
557
name : " test/e2e/${{ matrix.os }}"
588
558
needs :
@@ -606,7 +576,6 @@ jobs:
606
576
.eslintcache
607
577
key : js-${{ runner.os }}-e2e-${{ hashFiles('**/yarn.lock') }}
608
578
609
- # Go is required for uploading the test results to datadog
610
579
- uses : actions/setup-go@v3
611
580
with :
612
581
go-version : " ~1.19"
@@ -662,13 +631,6 @@ jobs:
662
631
path : ./site/test-results/**/*.webm
663
632
retention:days : 7
664
633
665
- - name : Upload DataDog Trace
666
- if : always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
667
- env :
668
- DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
669
- DD_CATEGORY : e2e
670
- GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
671
- run : go run scripts/datadog-cireport/main.go site/test-results/junit.xml
672
634
chromatic :
673
635
# REMARK: this is only used to build storybook and deploy it to Chromatic.
674
636
runs-on : ubuntu-latest
0 commit comments