Re: [PATCH RFC v3 11/11] ci: world_build: test: Add requirements.txt

Alper Nebi Yasak
2022-07-01T19:10:37Z

On 15/06/2022 09:48, Neha Malcom Francis wrote:
> To avoid ModuleNotFoundErrors during World Build in CI tests, add
> installation of test/py/requirements.txt to .azure-pipelines.yml
>
> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
> ---
> .azure-pipelines.yml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
> index ad540ea635..0fd57f59f4 100644
> --- a/.azure-pipelines.yml
> +++ b/.azure-pipelines.yml
> @@ -551,6 +551,7 @@ stages:
> EOF
> cat << "EOF" >> build.sh
> if [[ "${BUILDMAN}" != "" ]]; then
> + pip install -r test/py/requirements.txt
> ret=0;
> tools/buildman/buildman -o /tmp -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?;
> if [[ $ret -ne 0 ]]; then

Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>