ci: enforce native-suite-count against test/ directories at PR time

platformio test discovers and runs whatever test_* directories exist, so
it never notices when test/native-suite-count drifts from the actual
directory count. That reconciliation lived only in bin/run-tests.sh, which
CI does not invoke - so a stale or unbumped count sailed through PRs
(develop itself shipped 38 dirs against a 37 file).

Add a standalone suite-count-check job to test_native.yml that mirrors
run-tests.sh's exact counting logic and fails on a mismatch. It runs on
every PR via main_matrix's test-native job, with no build step so it fails
fast. Bump native-suite-count to 38 to match the current suites.

clod helped too
This commit is contained in:
nomdetom
2026-07-21 09:39:40 +01:00
parent 7bdc2569e8
commit efd620b552
2 changed files with 39 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
37
38