File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ sub_packages=(
32
32
" controlplane/kubeadm/api"
33
33
" api/ipam"
34
34
" api/runtime"
35
+ " test/extension"
35
36
" test/infrastructure/docker/api"
36
37
" test/infrastructure/docker/exp/api"
37
38
" test/infrastructure/inmemory/api"
@@ -43,7 +44,7 @@ visit() {
43
44
for file in " $1 " /* ; do
44
45
if [ -d " $file " ]; then
45
46
visit " $file "
46
- elif [ -f " $file " ]; then
47
+ elif [ -f " $file " ] && [[ " $file " = * .go ]] ; then
47
48
(( count += 1 ))
48
49
fi
49
50
done
Original file line number Diff line number Diff line change
1
+ # Enforce that the test extension implementation and its integration tests
2
+ # do not depend on internal packages.
3
+ rules:
4
+ - selectorRegexp: .*internal.*
5
+ allowedPrefixes: []
6
+ forbiddenPrefixes: []
You can’t perform that action at this time.
0 commit comments