Skip to content

Commit 27e31fb

Browse files
authored
Remove examples/android/CHIPTest from detekt (#32942)
* Remove examples/android/CHIPTest from detekt It seems to hang/never finish. We do something odd there. * Update again with the real failure reason
1 parent a93dba5 commit 27e31fb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/kotlin-style.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,17 @@ jobs:
2222
uses: actions/checkout@v4
2323

2424
- name: "detekt"
25-
uses: natiginfo/action-detekt-all@1.23.5
25+
uses: natiginfo/action-detekt-all@1.23.6
2626
# Detekt seems not to like circular symlinks, so we set up
2727
# explicit paths below
28+
#
29+
# In particular, if symlinks exist and recurse, detekt tries to
30+
# follow, so for example `examples/android/CHIPTest` as a path
31+
# will never end (and eventually run out of HEAP) because
32+
# `examples/android/CHIPTest/third_party/connectedhomeip` is
33+
# circular
2834
with:
29-
args: --parallel --build-upon-default-config --config kotlin-detect-config.yaml --input examples/android/CHIPTest,examples/android/CHIPTool,examples/java-matter-controller/java,src/controller/java
35+
args: --parallel --build-upon-default-config --config kotlin-detect-config.yaml --input examples/android/CHIPTest/app,examples/android/CHIPTool,examples/java-matter-controller/java,src/controller/java
3036

3137
ktlint:
3238
name: "Format check"

0 commit comments

Comments
 (0)