diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e494fdd4..2776206c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,8 @@ jobs: git diff --exit-code - name: Test - run: go test -v -race ./... + # parallel testing is disabled because somehow parallel testing causes Github Actions to kill the runner. + run: go test -parallel=1 -v -race ./... env: PGX_TEST_DATABASE: ${{ matrix.pgx-test-database }} PGX_TEST_UNIX_SOCKET_CONN_STRING: ${{ matrix.pgx-test-unix-socket-conn-string }} @@ -149,6 +150,7 @@ jobs: shell: bash - name: Test - run: go test -v -race ./... + # parallel testing is disabled because somehow parallel testing causes Github Actions to kill the runner. + run: go test -parallel=1 -v -race ./... env: PGX_TEST_DATABASE: ${{ steps.postgres.outputs.connection-uri }}