diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05c3f3cbd3..c5dc37148b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,12 @@ jobs: TEST_STATE_SCHEME: hash run: | packages=`go list ./...` - stdbuf -oL gotestsum --format short-verbose --packages="$packages" --rerun-fails=1 --no-color=false -- ./... -timeout 20m -parallel=8 -tags=cionly + for package in $packages; do + echo running tests for $package + if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=1 --no-color=false -- -timeout 20m -tags=cionly; then + exit 1 + fi + done - name: run tests with race detection and path state scheme if: matrix.test-mode == 'race' @@ -181,7 +186,12 @@ jobs: TEST_STATE_SCHEME: hash run: | packages=`go list ./...` - stdbuf -oL gotestsum --format short-verbose --packages="$packages" --rerun-fails=1 --no-color=false -- ./... -race -timeout 30m -parallel=8 + for package in $packages; do + echo running tests for $package + if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=1 --no-color=false -- -race -timeout 30m; then + exit 1 + fi + done - name: run redis tests if: matrix.test-mode == 'defaults'