ci: enable pytest on docker file
Signed-off-by: nietingting <nietingting@xiaomi.com>
This commit is contained in:
parent
344c8be049
commit
8b3a936588
@ -62,7 +62,12 @@ function python-tools {
|
||||
PYTHONUSERBASE=${prebuilt}/pylocal
|
||||
export PYTHONUSERBASE
|
||||
add_path "${PYTHONUSERBASE}"/bin
|
||||
pip3 install pexpect
|
||||
pip3 install pexpect==4.8.0
|
||||
pip3 install pytest==6.2.5
|
||||
pip3 install pytest-repeat==0.9.1
|
||||
pip3 install pytest-json==0.4.0
|
||||
pip3 install pytest-ordering==0.6
|
||||
pip3 install pyserial==3.5
|
||||
|
||||
# MCUboot's tool for image signing and key management
|
||||
if ! command -v imgtool &> /dev/null; then
|
||||
|
@ -264,6 +264,13 @@ ENV PIP_NO_CACHE_DIR=0
|
||||
RUN pip3 install setuptools wheel
|
||||
# Install CodeChecker and use it to statically analyze the code.
|
||||
RUN pip3 install CodeChecker
|
||||
# Install pytest
|
||||
RUN pip3 install pexpect==4.8.0
|
||||
RUN pip3 install pytest==6.2.5
|
||||
RUN pip3 install pytest-repeat==0.9.1
|
||||
RUN pip3 install pytest-json==0.4.0
|
||||
RUN pip3 install pytest-ordering==0.6
|
||||
RUN pip3 install pyserial==3.5
|
||||
|
||||
RUN mkdir /tools
|
||||
WORKDIR /tools
|
||||
|
Loading…
Reference in New Issue
Block a user