@@ -291,14 +291,9 @@ jobs:
291
291
gotestsum --junitfile="gotests.xml" --jsonfile="gotests.json" \
292
292
--packages="./..." -- $PARALLEL_FLAG -short -failfast $COVERAGE_FLAGS
293
293
294
- - name : Print test stats
295
- if : success() || failure()
296
- run : |
297
- # Artifacts are not available after rerunning a job,
298
- # so we need to print the test stats to the log.
299
- go run ./scripts/ci-report/main.go gotests.json | tee gotests_stats.json
300
-
301
294
- name : Upload test stats to Datadog
295
+ timeout-minutes : 1
296
+ continue-on-error : true
302
297
uses : ./.github/actions/upload-datadog
303
298
if : success() || failure()
304
299
with :
@@ -343,14 +338,9 @@ jobs:
343
338
export TS_DEBUG_DISCO=true
344
339
make test-postgres
345
340
346
- - name : Print test stats
347
- if : success() || failure()
348
- run : |
349
- # Artifacts are not available after rerunning a job,
350
- # so we need to print the test stats to the log.
351
- go run ./scripts/ci-report/main.go gotests.json | tee gotests_stats.json
352
-
353
341
- name : Upload test stats to Datadog
342
+ timeout-minutes : 1
343
+ continue-on-error : true
354
344
uses : ./.github/actions/upload-datadog
355
345
if : success() || failure()
356
346
with :
@@ -391,6 +381,8 @@ jobs:
391
381
gotestsum --junitfile="gotests.xml" -- -race ./...
392
382
393
383
- name : Upload test stats to Datadog
384
+ timeout-minutes : 1
385
+ continue-on-error : true
394
386
uses : ./.github/actions/upload-datadog
395
387
if : always()
396
388
with :
0 commit comments