File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1414 test_mode :
1515 required : false
1616 type : string
17- default : ' docker_compose '
17+ default : ' compose '
1818 outputs :
1919 run_matrix :
2020 description : " The matrix string"
Original file line number Diff line number Diff line change 1818 job1 :
1919 uses : ./.github/workflows/_get-test-matrix.yml
2020 with :
21- test_mode : " docker_image_build/build.yaml "
21+ test_mode : " docker_image_build"
2222
2323 image-build :
2424 needs : job1
Original file line number Diff line number Diff line change @@ -16,8 +16,13 @@ for example in ${examples}; do
1616 if [[ ! $( find . -type f | grep ${test_mode} ) ]]; then continue ; fi
1717 cd tests
1818 ls -l
19- hardware_list=$( find . -type f -name " test_compose*_on_*.sh" | cut -d/ -f2 | cut -d. -f1 | awk -F' _on_' ' {print $2}' | sort -u)
20- echo " Test supported hardware list = ${hardware_list} "
19+ if [[ " $test_mode " == " docker_image_build" ]]; then
20+ find_name=" test_manifest_on_*.sh"
21+ else
22+ find_name=" test_${test_mode} *_on_*.sh"
23+ fi
24+ hardware_list=$( find . -type f -name " ${find_name} " | cut -d/ -f2 | cut -d. -f1 | awk -F' _on_' ' {print $2}' | sort -u)
25+ echo -e " Test supported hardware list: \n${hardware_list} "
2126
2227 run_hardware=" "
2328 if [[ $( printf ' %s\n' " ${changed_files[@]} " | grep ${example} | cut -d' /' -f2 | grep -E ' *.py|Dockerfile*|ui|docker_image_build' ) ]]; then
You can’t perform that action at this time.
0 commit comments