fix: didn't catch properly kind of required tests

This commit is contained in:
Pierre Mavro
2021-01-07 23:59:00 +01:00
committed by Pierre Mavro
parent 5e1af7b7a4
commit c95081f79d

View File

@@ -52,7 +52,7 @@ jobs:
num_labels=$(echo $gh_pr | jq '.labels | length')
tests_type="fast_tests"
if [ $num_labels -gt 0 ] ; then
if [ $(echo $gh_pr | grep -c 'full-tests') ] ; then
if [ $(echo $gh_pr | grep -c 'full-tests') -eq 1 ] ; then
tests_type="full_tests"
fi
fi