Skip to content

Commit 530d047

Browse files
authored
expand timeout for microservice test (#208)
Signed-off-by: chensuyue <[email protected]>
1 parent f76685a commit 530d047

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/microservice-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if [[ "${path_level_1[@]}" =~ "${service}" ]]; then
4747
run_matrix="${run_matrix}{\"service\":\"${service}\",\"hardware\":\"${hardware}\"},"
4848
else
49-
vendors=$(printf '%s\n' "${changed_files[@]}" | grep ${service} | cut -d'/' -f3 | grep -vE '*.py' | sort -u)
49+
vendors=$(printf '%s\n' "${changed_files[@]}" | grep ${service} | cut -d'/' -f3 | grep -vE '*.py|Dockerfile' | sort -u)
5050
for vendor in ${vendors}; do
5151
if [[ "${path_level_3[@]}" =~ "${service}_${vendor}" ]]; then
5252
sub_vendors=$(printf '%s\n' "${changed_files[@]}" | grep ${service} | grep ${vendor} | cut -d'/' -f4 | grep -vE '*.py' | sort -u)
@@ -84,7 +84,7 @@ jobs:
8484
hardware: ${{ matrix.hardware }}
8585
run: |
8686
cd tests
87-
if [ -f test_${service}.sh ]; then timeout 10m bash test_${service}.sh; else echo "Test script not found, skip test!"; fi
87+
if [ -f test_${service}.sh ]; then timeout 30m bash test_${service}.sh; else echo "Test script not found, skip test!"; fi
8888
8989
- name: Clean up container
9090
env:

0 commit comments

Comments
 (0)