mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
Merge branch 'ci/target_test_do_not_need_submodules' into 'master'
CI: Do not need submodules in target test See merge request espressif/esp-idf!19139
This commit is contained in:
@@ -1,8 +1,21 @@
|
|||||||
.pytest_template:
|
.target_test_template:
|
||||||
image: $TARGET_TEST_ENV_IMAGE
|
image: $TARGET_TEST_ENV_IMAGE
|
||||||
stage: target_test
|
stage: target_test
|
||||||
timeout: 1 hour
|
timeout: 1 hour
|
||||||
extends: .before_script_pytest
|
variables:
|
||||||
|
GIT_DEPTH: 1
|
||||||
|
SUBMODULES_TO_FETCH: "none"
|
||||||
|
cache:
|
||||||
|
# Usually do not need submodule-cache in target_test
|
||||||
|
- key: pip-cache
|
||||||
|
paths:
|
||||||
|
- .cache/pip
|
||||||
|
policy: pull
|
||||||
|
|
||||||
|
.pytest_template:
|
||||||
|
extends:
|
||||||
|
- .target_test_template
|
||||||
|
- .before_script_pytest
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
@@ -11,9 +24,6 @@
|
|||||||
reports:
|
reports:
|
||||||
junit: XUNIT_RESULT.xml
|
junit: XUNIT_RESULT.xml
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
variables:
|
|
||||||
GIT_DEPTH: 1
|
|
||||||
SUBMODULES_TO_FETCH: "none"
|
|
||||||
script:
|
script:
|
||||||
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
|
- retry_failed git clone $KNOWN_FAILURE_CASES_REPO known_failure_cases
|
||||||
# get runner env config file
|
# get runner env config file
|
||||||
@@ -380,9 +390,8 @@ test_app_test_pytest_esp32s2_usb_host:
|
|||||||
CONFIG_FILE="${CONFIG_FILE_PATH}/${JOB_FULL_NAME}.yml"
|
CONFIG_FILE="${CONFIG_FILE_PATH}/${JOB_FULL_NAME}.yml"
|
||||||
|
|
||||||
.target_test_job_template:
|
.target_test_job_template:
|
||||||
stage: target_test
|
extends:
|
||||||
timeout: 1 hour
|
- .target_test_template
|
||||||
image: $TARGET_TEST_ENV_IMAGE
|
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
@@ -394,11 +403,9 @@ test_app_test_pytest_esp32s2_usb_host:
|
|||||||
junit: $LOG_PATH/*/XUNIT_RESULT.xml
|
junit: $LOG_PATH/*/XUNIT_RESULT.xml
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 1
|
|
||||||
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
||||||
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
||||||
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
||||||
SUBMODULES_TO_FETCH: "none"
|
|
||||||
script:
|
script:
|
||||||
- *define_config_file_name
|
- *define_config_file_name
|
||||||
# first test if config file exists, if not exist, exit 0
|
# first test if config file exists, if not exist, exit 0
|
||||||
@@ -421,13 +428,6 @@ test_app_test_pytest_esp32s2_usb_host:
|
|||||||
TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
|
TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
|
||||||
CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/examples/test_configs"
|
CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/examples/test_configs"
|
||||||
|
|
||||||
.example_debug_template:
|
|
||||||
extends:
|
|
||||||
- .example_test_template
|
|
||||||
- .rules:test:example_test-esp32
|
|
||||||
variables:
|
|
||||||
SUBMODULES_TO_FETCH: "all"
|
|
||||||
|
|
||||||
test_weekend_mqtt:
|
test_weekend_mqtt:
|
||||||
extends:
|
extends:
|
||||||
- .test_app_esp32_template
|
- .test_app_esp32_template
|
||||||
@@ -559,12 +559,10 @@ example_test_010:
|
|||||||
- Example_ExtFlash
|
- Example_ExtFlash
|
||||||
|
|
||||||
example_test_011:
|
example_test_011:
|
||||||
extends: .example_debug_template
|
extends: .example_test_esp32_template
|
||||||
tags:
|
tags:
|
||||||
- ESP32
|
- ESP32
|
||||||
- Example_T2_RS485
|
- Example_T2_RS485
|
||||||
variables:
|
|
||||||
SETUP_TOOLS: "1"
|
|
||||||
|
|
||||||
example_test_013:
|
example_test_013:
|
||||||
extends: .example_test_esp32_template
|
extends: .example_test_esp32_template
|
||||||
|
Reference in New Issue
Block a user