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
diff --git a/.github/workflows/kotlin-style.yaml b/.github/workflows/kotlin-style.yaml
index 2f8df6f..a8d3282 100644
--- a/.github/workflows/kotlin-style.yaml
+++ b/.github/workflows/kotlin-style.yaml
@@ -22,11 +22,17 @@
uses: actions/checkout@v4
- name: "detekt"
- uses: natiginfo/action-detekt-all@1.23.5
+ uses: natiginfo/action-detekt-all@1.23.6
# Detekt seems not to like circular symlinks, so we set up
# explicit paths below
+ #
+ # In particular, if symlinks exist and recurse, detekt tries to
+ # follow, so for example `examples/android/CHIPTest` as a path
+ # will never end (and eventually run out of HEAP) because
+ # `examples/android/CHIPTest/third_party/connectedhomeip` is
+ # circular
with:
- 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
+ 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
ktlint:
name: "Format check"