From 61ecee012eea597d3e9e6819227e14ced5577c00 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 9ebf2d086..1460b2de7 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 - deploy - post_check @@ -657,7 +656,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: @@ -713,7 +712,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 @@ -735,7 +734,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: