Skip to content

Commit 1e22a7f

Browse files
elibenvangent
authored andcommitted
testing: don't repeat main module tests (#2050)
1 parent b73b89e commit 1e22a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/testing/runchecks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ wire diff ./... || {
164164

165165
echo
166166
echo "Running Go tests for sub-modules..."
167-
sed -e '/^#/d' -e '/^$/d' allmodules | while read -r path || [[ -n "$path" ]]; do
167+
sed -e '/^#/d' -e '/^$/d' -e '/^\.$/d' allmodules | while read -r path || [[ -n "$path" ]]; do
168168
echo "Running tests in '$path'..."
169169
( cd "$path" && exec go test -mod=readonly ./... ) || result=1
170170
echo "Running wire checks in '$path'..."

0 commit comments

Comments
 (0)