From bf0f02112d6ff84e4ac73d65d80d4610ac52a41e Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Mon, 26 Nov 2018 16:40:32 +0800 Subject: [PATCH] ci: combine unit_test and integration_test stage: The number of runners of integration test is not bottleneck to CI pipeline performance now. Combine these 2 stages will make integration test executed even unit test fails. This could help us to collect more info about test history. --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3a8ae42a3..cb87e63e6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,7 @@ stages: - build - assign_test - host_test - - unit_test - - integration_test + - target_test - check - deploy - post_check @@ -803,7 +802,7 @@ assign_test: - python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin .example_test_template: &example_test_template - stage: integration_test + stage: target_test when: on_success only: refs: @@ -859,7 +858,7 @@ assign_test: .unit_test_template: &unit_test_template <<: *example_test_template - stage: unit_test + stage: target_test dependencies: - assign_test - build_esp_idf_tests_make @@ -882,7 +881,7 @@ assign_test: ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml" .test_template: &test_template - stage: integration_test + stage: target_test when: on_success only: refs: