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:
parent
27ba5fdfb3
commit
3eb3548a00
2 changed files with 22 additions and 4 deletions
|
|
@ -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=$?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue