From e85cb6d1480eb8976ffe41e20460060d2b8b8074 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 22466d712..27764581c 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 @@ -796,7 +795,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: @@ -852,7 +851,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 @@ -875,7 +874,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: