]> granicus.if.org Git - esp-idf/commitdiff
ci: combine unit_test and integration_test stage:
authorHe Yin Ling <heyinling@espressif.com>
Mon, 26 Nov 2018 08:40:32 +0000 (16:40 +0800)
committerHe Yin Ling <heyinling@espressif.com>
Mon, 26 Nov 2018 08:40:32 +0000 (16:40 +0800)
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

index a3a8ae42a376a363052f922d632b44efa3b42c92..cb87e63e6a77f7a3b2b05d76ce1e833aa0bc2406 100644 (file)
@@ -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: