From af753c7bf8d842e1e29350bca2078b119e761858 Mon Sep 17 00:00:00 2001 From: steebchen Date: Wed, 21 Feb 2024 13:07:56 +0700 Subject: [PATCH] test(all): run tests with -race --- .github/workflows/e2e-test.yml | 2 +- .github/workflows/test.yml | 2 +- .run/test all.run.xml | 63 +++++++++++++++++----------------- 3 files changed, 34 insertions(+), 33 deletions(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 89b80dc00..9f8b6d798 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -46,7 +46,7 @@ jobs: if: steps.changes.outputs.go == 'true' run: | cd test/e2e/ - go test ./... -run '^TestE2E.*$' -tags e2e -v + go test ./... -run '^TestE2E.*$' -tags e2e -race -v env: # DATA_PROXY_DATABASE_URL: ${{ secrets.DATA_PROXY_DATABASE_URL }} PRISMA_CLIENT_GO_LOG: info diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f7d7c710..4839e22bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,4 +41,4 @@ jobs: - name: test if: steps.changes.outputs.go == 'true' - run: go test ./... -v -failfast + run: go test ./... -race -v -failfast diff --git a/.run/test all.run.xml b/.run/test all.run.xml index 70c8da84a..e7adfa394 100644 --- a/.run/test all.run.xml +++ b/.run/test all.run.xml @@ -1,33 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +