forked from kofal.net/zmk
refactor(tests): Use GH Actions matrix for tests.
* To parallelize our tests, generate a dynamic matrix of tests to run.
This commit is contained in:
committed by
Pete Johanson
parent
27ba5fdfb3
commit
3eb3548a00
@@ -15,7 +15,7 @@ fi
|
||||
|
||||
testcases=$(find $path -name native_posix_64.keymap -exec dirname \{\} \;)
|
||||
num_cases=$(echo "$testcases" | wc -l)
|
||||
if [ $num_cases -gt 1 ]; then
|
||||
if [ $num_cases -gt 1 ] || [ "$testcases" != "$path" ]; then
|
||||
echo "" > ./build/tests/pass-fail.log
|
||||
echo "$testcases" | xargs -L 1 -P ${J:-4} ./run-test.sh
|
||||
err=$?
|
||||
|
||||
Reference in New Issue
Block a user