fix: make sure requirements are installed before running autocomplete test

This reverts commit 4aa921a836.
This commit is contained in:
Peter Dragun 2023-09-26 13:58:06 +02:00
parent 9f3840da59
commit bd3bec2ac3
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,6 @@ setuptools>=21
#
# importlib_metadata: is part of python3.8 and newer as importlib.metadata
importlib_metadata; python_version < "3.8"
packaging
click==7.0; python_version == "3.4"
click>=7.0; python_version != "3.4"
pyserial>=3.0

View File

@ -322,13 +322,14 @@ test_sbom:
test_autocomplete:
extends: .host_test_template
image: $CI_DOCKER_REGISTRY/linux-shells:1
allow_failure: true
artifacts:
when: on_failure
paths:
- ${IDF_PATH}/*.out
expire_in: 1 week
script:
# workaround for issues with missing requirements for python2.7
- pyenv global 2.7.18 && pip2.7 install -r requirements.txt
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ${IDF_PATH}/tools/ci/test_autocomplete.py
test_detect_python: