ci: install pytest packages if job name has _pytest_
@@ -159,7 +159,11 @@ 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
run_cmd bash install.sh --enable-ci
+ else
+ run_cmd bash install.sh --enable-ci --enable-pytest
+ fi
fi
source ./export.sh
