From c5fd72ad139ee3f763537e3cd26cd6a00449a8d3 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 8 Mar 2022 11:15:26 +0800 Subject: [PATCH] ci: install pytest-embedded related packages from pypi --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e625eaa0c..d88d48394c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,7 +73,7 @@ variables: TEST_ENV_CONFIG_REPO: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/ci-test-runner-configs.git" CI_AUTO_TEST_SCRIPT_REPO_URL: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/auto_test_script.git" CI_AUTO_TEST_SCRIPT_REPO_BRANCH: "ci/v4.1" - PYTEST_EMBEDDED_TAG: "v0.6.0rc0" + PYTEST_EMBEDDED_VERSION: "0.6.0" # cache python dependencies PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" @@ -169,11 +169,11 @@ before_script: - fetch_submodules - *download_test_python_contraint_file - $IDF_PATH/tools/idf_tools.py install-python-env - - cd /tmp - - retry_failed git clone --depth 1 --branch $PYTEST_EMBEDDED_TAG https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/idf/pytest-embedded.git - - cd pytest-embedded && bash foreach.sh install - - pip install pytest-rerunfailures - - pip install scapy + - pip install + "pytest-embedded-serial-esp~=$PYTEST_EMBEDDED_VERSION" + "pytest-embedded-idf~=$PYTEST_EMBEDDED_VERSION" + pytest-rerunfailures + scapy - cd $IDF_PATH default: