ci: rename target test jobs names

This commit is contained in:
Fu Hanxi
2023-04-06 11:10:41 +08:00
parent d036edfe1b
commit c8064d0b2e
2 changed files with 119 additions and 119 deletions
+2 -2
View File
@@ -150,7 +150,7 @@ cache:
# target test jobs
if [[ "${CI_JOB_STAGE}" == "target_test" ]]; then
# ttfw jobs
if ! echo "${CI_JOB_NAME}" | egrep ".+_pytest_.+"; then
if ! echo "${CI_JOB_NAME}" | egrep ".*pytest.*"; then
run_cmd bash install.sh --enable-ci --enable-ttfw
else
run_cmd bash install.sh --enable-ci --enable-pytest
@@ -160,7 +160,7 @@ cache:
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
run_cmd bash install.sh --enable-ci --enable-pytest
else
if ! echo "${CI_JOB_NAME}" | egrep ".+_pytest_.+"; then
if ! echo "${CI_JOB_NAME}" | egrep ".*pytest.*"; then
run_cmd bash install.sh --enable-ci
else
run_cmd bash install.sh --enable-ci --enable-pytest