forked from espressif/esp-idf
ci: test_idf_tools use system python
This commit is contained in:
@@ -204,19 +204,24 @@ test_idf_py:
|
|||||||
- cd ${IDF_PATH}/tools/test_idf_py
|
- cd ${IDF_PATH}/tools/test_idf_py
|
||||||
- ./test_idf_py.py
|
- ./test_idf_py.py
|
||||||
|
|
||||||
|
# Test for create virtualenv. It must be invoked from Python, not from virtualenv.
|
||||||
|
# Use docker image system python without any extra dependencies
|
||||||
test_idf_tools:
|
test_idf_tools:
|
||||||
extends: .host_test_template
|
extends:
|
||||||
|
- .host_test_template
|
||||||
|
- .before_script_minimal
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
- tools/tools.new.json
|
- tools/tools.new.json
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
image:
|
||||||
|
name: $ESP_ENV_IMAGE
|
||||||
|
entrypoint: [""] # use system python3. no extra pip package installed
|
||||||
script:
|
script:
|
||||||
# Remove Xtensa and ULP toolchains from the PATH, tests will expect a clean environment
|
|
||||||
- export PATH=$(p=$(echo $PATH | tr ":" "\n" | grep -v "/root/.espressif/tools\|/opt/espressif" | tr "\n" ":"); echo ${p%:})
|
|
||||||
- cd ${IDF_PATH}/tools/test_idf_tools
|
- cd ${IDF_PATH}/tools/test_idf_tools
|
||||||
- ./test_idf_tools.py
|
- python3 -m pip install jsonschema
|
||||||
# Test for create virtualenv. It must be invoked from Python, not from virtualenv.
|
- python3 ./test_idf_tools.py
|
||||||
- python3 ./test_idf_tools_python_env.py
|
- python3 ./test_idf_tools_python_env.py
|
||||||
|
|
||||||
.test_efuse_table_on_host_template:
|
.test_efuse_table_on_host_template:
|
||||||
|
Reference in New Issue
Block a user