mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci: install pytest packages if job name has _pytest_
This commit is contained in:
parent
67bb3d0932
commit
43f58f724d
@ -159,7 +159,11 @@ cache:
|
|||||||
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
|
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
|
||||||
run_cmd bash install.sh --enable-ci --enable-pytest
|
run_cmd bash install.sh --enable-ci --enable-pytest
|
||||||
else
|
else
|
||||||
|
if ! echo "${CI_JOB_NAME}" | egrep ".+_pytest_.+"; then
|
||||||
run_cmd bash install.sh --enable-ci
|
run_cmd bash install.sh --enable-ci
|
||||||
|
else
|
||||||
|
run_cmd bash install.sh --enable-ci --enable-pytest
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ./export.sh
|
source ./export.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user