mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 00:54:34 -04:00
ci: fail the test shards on Kotlin compiler warnings (#7468)
This commit is contained in:
1 parent
bb515dbdc9
commit
9a34f78a8f
2 files changed
+4
-1
No files matched your search
@@ -309,7 +309,9 @@ jobs:
|
||||
# CCUD tags every shard with the same `CI job=test-shards`, which is the largest
|
||||
# single CI cost bucket and therefore the one worth splitting. Shard identity is
|
||||
# otherwise only recoverable by parsing the requested task list.
|
||||
./gradlew ${{ matrix.shard.tasks }} $kover_tasks -Pci=true -Pkotlin.daemon.useFallbackStrategy=false --continue \
|
||||
# -PwarningsAsErrors: together the shards compile every main and test source set, so a new Kotlin
|
||||
# compiler warning fails here.
|
||||
./gradlew ${{ matrix.shard.tasks }} $kover_tasks -Pci=true -Pkotlin.daemon.useFallbackStrategy=false -PwarningsAsErrors=true --continue \
|
||||
"-Dscan.value.CI shard=${{ matrix.shard.name }}"
|
||||
|
||||
# A test fork that dies in native code (exit 134) names no test, and the JVM's crash report is the
|
||||
|
||||
Reference in new issue
Block a user