ci: Force reinstall of python tools to workaround GitHub cache issue

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-12-16 10:21:34 -03:00 committed by Xiang Xiao
parent cc0ee12092
commit aac0228c74
1 changed files with 6 additions and 7 deletions

View File

@ -278,10 +278,14 @@ function python-tools {
export PIP_USER=yes
export PYTHONUSERBASE=${tools}/pylocal
add_path "${PYTHONUSERBASE}"/bin
pip3 install \
# Force the reinstall of python packages due to issues with GitHub
# cache restoration.
pip3 install --force-reinstall \
CodeChecker \
cxxfilt \
esptool==3.3.1 \
imgtool==1.9.0 \
pexpect==4.8.0 \
pyelftools \
pyserial==3.5 \
@ -289,11 +293,6 @@ function python-tools {
pytest-json==0.4.0 \
pytest-ordering==0.6 \
pytest-repeat==0.9.1
# MCUboot's tool for image signing and key management
if ! command -v imgtool &> /dev/null; then
pip3 install imgtool
fi
}
function riscv-gcc-toolchain {