From 75ab9223f9cb6a31d0aa24fab8875db3386cae33 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 21 Oct 2020 12:12:28 +0800 Subject: [PATCH] scan test when weekend test. --- tools/ci/config/pre_check.yml | 2 +- tools/ci/config/rules.yml | 10 ++++++++++ tools/ci/python_packages/ttfw_idf/CIScanTests.py | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/tools/ci/config/pre_check.yml b/tools/ci/config/pre_check.yml index 46f4b7c802..793917c5a9 100644 --- a/tools/ci/config/pre_check.yml +++ b/tools/ci/config/pre_check.yml @@ -123,7 +123,7 @@ check_public_headers: scan_tests: extends: - .scan_build_tests - - .rules:build_tests:target_test + - .rules:build_tests:target_test-weekend_test artifacts: paths: - $EXAMPLE_TEST_OUTPUT_DIR diff --git a/tools/ci/config/rules.yml b/tools/ci/config/rules.yml index 9f20c47201..f7bec2f93d 100644 --- a/tools/ci/config/rules.yml +++ b/tools/ci/config/rules.yml @@ -237,3 +237,13 @@ - <<: *if-label-example_test - <<: *if-label-custom_test - <<: *if-label-unit_test-all_targets + +.rules:build_tests:target_test-weekend_test: + rules: + - <<: *if-protected-no_label + - <<: *if-label-build + - <<: *if-label-regular_test + - <<: *if-label-example_test + - <<: *if-label-custom_test + - <<: *if-label-unit_test-all_targets + - <<: *if-label-weekend_test diff --git a/tools/ci/python_packages/ttfw_idf/CIScanTests.py b/tools/ci/python_packages/ttfw_idf/CIScanTests.py index 250841636b..8d1c5e4ad8 100644 --- a/tools/ci/python_packages/ttfw_idf/CIScanTests.py +++ b/tools/ci/python_packages/ttfw_idf/CIScanTests.py @@ -20,6 +20,7 @@ BUILD_ALL_LABELS = [ 'BOT_LABEL_BUILD', 'BOT_LABEL_BUILD_ALL_APPS', 'BOT_LABEL_REGULAR_TEST', + 'BOT_LABEL_WEEKEND_TEST', ]