Skip to content

Commit 00ce687

Browse files
acosta11ctlong
authored andcommitted
ci: Disable parallel unit tests in CI
1 parent 14f060e commit 00ce687

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/subtests/unit-test

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ set -o pipefail
55

66
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
77

8+
flags='-r --randomize-all --randomize-suites --fail-on-pending --keep-going --race --trace'
9+
if [ "${CI:-false}" = 'false' ]; then
10+
flags="${flags} -p"
11+
fi
12+
813
pushd "${SCRIPT_DIR}/../../src" > /dev/null
9-
go run github.com/onsi/ginkgo/v2/ginkgo -r -p --randomize-all --randomize-suites --fail-on-pending --keep-going --race --trace
14+
go run github.com/onsi/ginkgo/v2/ginkgo $flags
1015
popd > /dev/null
1116

0 commit comments

Comments
 (0)