Skip to content

Commit f45a2d3

Browse files
committed
chore: Run only regression scope tests fo regression
1 parent 2e047fd commit f45a2d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/tests/run-regression.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ echo "${SCRIPT_NAME} is running... "
88

99
export AOC_REGRESSION_ENABLED=true
1010

11+
REGRESSION_TESTS_PKG=$(go list -m)/tests
12+
1113
GOTEST="go test -v -race"
1214
if [ -f "$(go env GOPATH)/bin/gotestsum" ] || [ -f "/usr/local/bin/gotestsum" ]; then
1315
GOTEST="gotestsum --format pkgname --"
1416
fi
1517

16-
${GOTEST} ./...
18+
${GOTEST} "${REGRESSION_TESTS_PKG}"
1719

1820
unset AOC_REGRESSION_ENABLED
1921

0 commit comments

Comments
 (0)