From c8a37c296a4f8a44578c287477f5b8895c5ce3b9 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 13 Nov 2019 09:01:49 +0100 Subject: [PATCH] ci: don't fetch all submodules in unit_test and example_test --- tools/ci/config/target-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ci/config/target-test.yml b/tools/ci/config/target-test.yml index 92109a577..88cc29da9 100644 --- a/tools/ci/config/target-test.yml +++ b/tools/ci/config/target-test.yml @@ -36,6 +36,7 @@ CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/examples/test_configs" LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS" ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml" + GIT_SUBMODULE_STRATEGY: none script: - *define_config_file_name # first test if config file exists, if not exist, exit 0 @@ -43,6 +44,9 @@ # clone test env configs - git clone $TEST_ENV_CONFIG_REPOSITORY - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs + # Get esptool + - git submodule sync + - git submodule update --init components/esptool_py/esptool - cd $TEST_FW_PATH # run test - python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE