File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 28
28
if : ${{ !github.event.pull_request.draft }}
29
29
uses : ./.github/workflows/_get-test-matrix.yml
30
30
with :
31
- diff_excluded_files : ' .github|* .md|* .txt|kubernetes|manifest|gmc|assets|benchmark'
31
+ diff_excluded_files : ' \ .github|\ .md|\ .txt|kubernetes|manifest|gmc|assets|benchmark'
32
32
33
33
example-test :
34
34
needs : [get-test-matrix]
42
42
tag : " ci"
43
43
example : ${{ matrix.example }}
44
44
hardware : ${{ matrix.hardware }}
45
- diff_excluded_files : ' .github|* .md|* .txt|kubernetes|manifest|gmc|assets|benchmark'
45
+ diff_excluded_files : ' \ .github|\ .md|\ .txt|kubernetes|manifest|gmc|assets|benchmark'
46
46
secrets : inherit
Original file line number Diff line number Diff line change 22
22
job1 :
23
23
uses : ./.github/workflows/_get-test-matrix.yml
24
24
with :
25
- diff_excluded_files : ' .github|docker_compose|manifest|assets|* .md|* .txt'
25
+ diff_excluded_files : ' \ .github|docker_compose|manifest|assets|\ .md|\ .txt'
26
26
test_mode : " gmc"
27
27
28
28
gmc-test :
Original file line number Diff line number Diff line change 25
25
job1:
26
26
uses: ./.github/workflows/_get-test-matrix.yml
27
27
with:
28
- diff_excluded_files: '.github|docker_compose|gmc|assets|* .md|* .txt|benchmark'
28
+ diff_excluded_files: '\ .github|docker_compose|gmc|assets|\ .md|\ .txt|benchmark'
29
29
test_mode: "manifest"
30
30
31
31
run-example:
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ for example in ${examples}; do
25
25
echo -e " Test supported hardware list: \n${hardware_list} "
26
26
27
27
run_hardware=" "
28
- if [[ $( printf ' %s\n' " ${changed_files[@]} " | grep ${example} | cut -d' /' -f2 | grep -E ' * .py|Dockerfile*|ui|docker_image_build' ) ]]; then
28
+ if [[ $( printf ' %s\n' " ${changed_files[@]} " | grep ${example} | cut -d' /' -f2 | grep -E ' \ .py|Dockerfile*|ui|docker_image_build' ) ]]; then
29
29
# run test on all hardware if megaservice or ui code change
30
30
run_hardware=$hardware_list
31
31
else
You can’t perform that action at this time.
0 commit comments