ci: fetch all submodules for iperf example test

This commit is contained in:
He Yin Ling 2019-11-19 11:18:59 +08:00
parent 93a8603c54
commit 613b9b613d

View file

@ -162,9 +162,22 @@ example_test_001:
example_test_002:
extends: .example_test_template
image: $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
variables:
GIT_SUBMODULE_STRATEGY: normal
tags:
- ESP32
- Example_ShieldBox_Basic
script:
- *define_config_file_name
# first test if config file exists, if not exist, exit 0
- test -e $CONFIG_FILE || exit 0
# clone test env configs
- git clone $TEST_ENV_CONFIG_REPOSITORY
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
- cd $TEST_FW_PATH
# run test
- python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE
.example_test_003:
extends: .example_test_template