rules.yml 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  1. ############
  2. # Patterns #
  3. ############
  4. .patterns-c-files: &patterns-c-files
  5. - ".gitlab/ci/static-code-analysis.yml"
  6. - "tools/ci/static-analysis-rules.yml"
  7. - "tools/ci/clang_tidy_dirs.txt"
  8. - "**/*.{c,C}"
  9. - "**/*.{h,H}"
  10. - "components/**/Kconfig"
  11. - "components/**/CMakeList.txt"
  12. .patterns-python-files: &patterns-python-files
  13. - ".gitlab/ci/static-code-analysis.yml"
  14. - "**/*.py"
  15. .patterns-sonarqube-files: &patterns-sonarqube-files
  16. - "tools/ci/sonar_exclude_list.txt"
  17. .patterns-example_test: &patterns-example_test
  18. - "tools/ci/python_packages/gitlab_api.py"
  19. - "tools/ci/python_packages/idf_http_server_test/**/*"
  20. - "tools/ci/python_packages/idf_iperf_test_util/**/*"
  21. - "tools/ci/python_packages/tiny_test_fw/**/*"
  22. - "tools/ci/python_packages/ttfw_idf/**/*"
  23. - "tools/ci/find_apps_build_apps.sh"
  24. - "tools/ci/build_pytest_apps.py"
  25. - "tools/build_apps.py"
  26. - "tools/find_apps.py"
  27. - "tools/find_build_apps/**/*"
  28. - "tools/esp_prov/**/*"
  29. - "examples/**/*"
  30. .patterns-build-example_test: &patterns-build-example_test
  31. - "tools/ci/build_example_dirs.txt"
  32. - "tools/ci/get_supported_examples.sh"
  33. .patterns-build_components: &patterns-build_components
  34. - "components/**/*"
  35. - "examples/cxx/experimental/experimental_cpp_component/*"
  36. .patterns-build_system: &patterns-build_system
  37. - "tools/cmake/**/*"
  38. - "tools/kconfig_new/**/*"
  39. - "tools/tools.json"
  40. - "tools/ci/test_build_system*.sh"
  41. .patterns-custom_test: &patterns-custom_test
  42. - "components/espcoredump/**/*"
  43. - "tools/ci/python_packages/gitlab_api.py"
  44. - "tools/ci/python_packages/tiny_test_fw/**/*"
  45. - "tools/ci/python_packages/ttfw_idf/**/*"
  46. - "tools/ci/find_apps_build_apps.sh"
  47. - "tools/build_apps.py"
  48. - "tools/find_apps.py"
  49. - "tools/find_build_apps/**/*"
  50. - "tools/test_apps/**/*"
  51. - "tools/ldgen/**/*"
  52. .patterns-unit_test: &patterns-unit_test
  53. - "tools/ci/python_packages/gitlab_api.py"
  54. - "tools/ci/python_packages/tiny_test_fw/**/*"
  55. - "tools/ci/python_packages/ttfw_idf/**/*"
  56. - "tools/ci/find_apps_build_apps.sh"
  57. - "tools/build_apps.py"
  58. - "tools/find_apps.py"
  59. - "tools/find_build_apps/**/*"
  60. - "tools/unit-test-app/**/*"
  61. - "components/**/*"
  62. .patterns-component_ut: &patterns-component_ut
  63. - "tools/ci/python_packages/gitlab_api.py"
  64. - "tools/ci/python_packages/tiny_test_fw/**/*"
  65. - "tools/ci/python_packages/ttfw_idf/**/*"
  66. - "tools/ci/find_apps_build_apps.sh"
  67. - "tools/build_apps.py"
  68. - "tools/find_apps.py"
  69. - "tools/find_build_apps/**/*"
  70. - "components/**/*"
  71. .patterns-integration_test: &patterns-integration_test
  72. - "tools/ci/python_packages/tiny_test_fw/**/*"
  73. .patterns-host_test: &patterns-host_test
  74. - ".gitlab/ci/host-test.yml"
  75. - "components/**/*"
  76. - "tools/ci/test_autocomplete.py"
  77. - "tools/ci/test_build_system_cmake.sh"
  78. - "tools/ci/test_check_kconfigs.py"
  79. - "tools/ci/test_configure_ci_environment.sh"
  80. - "tools/mass_mfg/**/*"
  81. - "tools/esp_app_trace/**/*"
  82. - "tools/ldgen/**/*"
  83. - "tools/idf_monitor_base/*"
  84. - "tools/idf_monitor.py"
  85. - "tools/test_idf_monitor/**/*"
  86. - "tools/idf.py"
  87. - "tools/idf_py_actions/**/*"
  88. - "tools/test_idf_py/**/*"
  89. - "tools/idf_size.py"
  90. - "tools/idf_size_yaml/*"
  91. - "tools/test_idf_size/**/*"
  92. - "tools/tools.json"
  93. - "tools/tools_schema.json"
  94. - "tools/idf_tools.py"
  95. - "tools/test_idf_tools/**/*"
  96. - "tools/mkdfu.py"
  97. - "tools/test_mkdfu/**/*"
  98. - "tools/kconfig_new/**/*"
  99. - "tools/detect_python.sh"
  100. - "tools/detect_python.fish"
  101. - "tools/ci/test_reproducible_build.sh"
  102. - "tools/gen_soc_caps_kconfig/*"
  103. - "tools/gen_soc_caps_kconfig/test/test_gen_soc_caps_kconfig.py"
  104. - "tools/mkuf2.py"
  105. - "tools/test_mkuf2/test_mkuf2.py"
  106. - "tools/split_paths_by_spaces.py"
  107. .patterns-windows: &patterns-windows
  108. - "tools/windows/**/*"
  109. .patterns-docker: &patterns-docker
  110. - "tools/docker/**/*"
  111. .patterns-submodule: &patterns-submodule
  112. - "components/asio/asio"
  113. - "components/bootloader/subproject/components/micro-ecc/micro-ecc"
  114. - "components/bt/controller/lib_esp32"
  115. - "components/bt/controller/lib_esp32c3_family"
  116. - "components/bt/host/nimble/nimble"
  117. - "components/cmock/CMock"
  118. - "components/cmock/CMock/vendor/c_exception"
  119. - "components/cmock/CMock/vendor/unity"
  120. - "components/coap/libcoap"
  121. - "components/coap/libcoap/ext/tinydtls"
  122. - "components/esp_phy/lib"
  123. - "components/esp_wifi/lib"
  124. - "components/esptool_py/esptool"
  125. - "components/expat/expat"
  126. - "components/json/cJSON"
  127. - "components/lwip/lwip"
  128. - "components/mbedtls/mbedtls"
  129. - "components/mqtt/esp-mqtt"
  130. - "components/openthread/lib"
  131. - "components/protobuf-c/protobuf-c"
  132. - "components/spiffs/spiffs"
  133. - "components/tinyusb/tinyusb"
  134. - "components/unity/unity"
  135. - "examples/build_system/cmake/import_lib/main/lib/tinyxml2"
  136. - "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"
  137. ##############
  138. # if anchors #
  139. ##############
  140. .if-ref-master: &if-ref-master
  141. if: '$CI_COMMIT_REF_NAME == "master"'
  142. .if-tag-release: &if-tag-release
  143. if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
  144. .if-protected: &if-protected
  145. if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)'
  146. .if-protected-no_label: &if-protected-no_label
  147. if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/) && $BOT_TRIGGER_WITH_LABEL == null'
  148. .if-dev-push: &if-dev-push
  149. if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
  150. .if-schedule: &if-schedule
  151. if: '$CI_PIPELINE_SOURCE == "schedule"'
  152. .if-trigger: &if-trigger
  153. if: '$CI_PIPELINE_SOURCE == "trigger"'
  154. .if-label-build-only: &if-label-build-only
  155. if: '$CI_JOB_STAGE == "target_test" && $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*For Maintainers: Only Build Tests(?:,[^,\n\r]+)*$/i'
  156. .if-revert-branch: &if-revert-branch
  157. if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^revert-/'
  158. #########
  159. # Rules #
  160. #########
  161. .rules:protected:
  162. rules:
  163. - <<: *if-protected
  164. .rules:protected-no_label:
  165. rules:
  166. - <<: *if-protected-no_label
  167. .rules:dev:
  168. rules:
  169. - <<: *if-trigger
  170. - <<: *if-dev-push
  171. .rules:tag:release:
  172. rules:
  173. - <<: *if-tag-release
  174. .rules:ref:master-schedule:
  175. rules:
  176. - <<: *if-ref-master
  177. - <<: *if-schedule
  178. .rules:ref:master-schedule-always:
  179. rules:
  180. - <<: *if-ref-master
  181. when: always
  182. - <<: *if-schedule
  183. when: always
  184. .rules:patterns:clang_tidy:
  185. rules:
  186. - <<: *if-protected
  187. - <<: *if-dev-push
  188. changes: *patterns-c-files
  189. .rules:patterns:python-files:
  190. rules:
  191. - <<: *if-protected
  192. - <<: *if-dev-push
  193. changes: *patterns-python-files
  194. .rules:patterns:static-code-analysis-preview:
  195. rules:
  196. - <<: *if-dev-push
  197. changes: *patterns-c-files
  198. - <<: *if-dev-push
  199. changes: *patterns-python-files
  200. - <<: *if-dev-push
  201. changes: *patterns-sonarqube-files
  202. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  203. # DO NOT place comments or maintain any code from this line
  204. #
  205. # Use dependencies.yml and generate_rules.py under .gitlab/ci/dependencies dir
  206. # to generate labels and rules
  207. # Could also use pre-commit hook to finish this if detected changes on
  208. # these two files
  209. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  210. ##################
  211. # Auto Generated #
  212. ##################
  213. .if-label-build: &if-label-build
  214. if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i'
  215. .if-label-component_ut: &if-label-component_ut
  216. if: '$BOT_LABEL_COMPONENT_UT || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i'
  217. .if-label-component_ut_esp32: &if-label-component_ut_esp32
  218. if: '$BOT_LABEL_COMPONENT_UT_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i'
  219. .if-label-component_ut_esp32c3: &if-label-component_ut_esp32c3
  220. if: '$BOT_LABEL_COMPONENT_UT_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i'
  221. .if-label-component_ut_esp32s2: &if-label-component_ut_esp32s2
  222. if: '$BOT_LABEL_COMPONENT_UT_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i'
  223. .if-label-component_ut_esp32s3: &if-label-component_ut_esp32s3
  224. if: '$BOT_LABEL_COMPONENT_UT_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i'
  225. .if-label-component_ut_esp8684: &if-label-component_ut_esp8684
  226. if: '$BOT_LABEL_COMPONENT_UT_ESP8684 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp8684(?:,[^,\n\r]+)*$/i'
  227. .if-label-custom_test: &if-label-custom_test
  228. if: '$BOT_LABEL_CUSTOM_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i'
  229. .if-label-custom_test_esp32: &if-label-custom_test_esp32
  230. if: '$BOT_LABEL_CUSTOM_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i'
  231. .if-label-custom_test_esp32c3: &if-label-custom_test_esp32c3
  232. if: '$BOT_LABEL_CUSTOM_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i'
  233. .if-label-custom_test_esp32s2: &if-label-custom_test_esp32s2
  234. if: '$BOT_LABEL_CUSTOM_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i'
  235. .if-label-custom_test_esp32s3: &if-label-custom_test_esp32s3
  236. if: '$BOT_LABEL_CUSTOM_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i'
  237. .if-label-custom_test_esp8684: &if-label-custom_test_esp8684
  238. if: '$BOT_LABEL_CUSTOM_TEST_ESP8684 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp8684(?:,[^,\n\r]+)*$/i'
  239. .if-label-docker: &if-label-docker
  240. if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i'
  241. .if-label-example_test: &if-label-example_test
  242. if: '$BOT_LABEL_EXAMPLE_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i'
  243. .if-label-example_test_esp32: &if-label-example_test_esp32
  244. if: '$BOT_LABEL_EXAMPLE_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i'
  245. .if-label-example_test_esp32c3: &if-label-example_test_esp32c3
  246. if: '$BOT_LABEL_EXAMPLE_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i'
  247. .if-label-example_test_esp32s2: &if-label-example_test_esp32s2
  248. if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i'
  249. .if-label-example_test_esp32s3: &if-label-example_test_esp32s3
  250. if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i'
  251. .if-label-example_test_esp8684: &if-label-example_test_esp8684
  252. if: '$BOT_LABEL_EXAMPLE_TEST_ESP8684 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp8684(?:,[^,\n\r]+)*$/i'
  253. .if-label-fuzzer_test: &if-label-fuzzer_test
  254. if: '$BOT_LABEL_FUZZER_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i'
  255. .if-label-host_test: &if-label-host_test
  256. if: '$BOT_LABEL_HOST_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i'
  257. .if-label-integration_test: &if-label-integration_test
  258. if: '$BOT_LABEL_INTEGRATION_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i'
  259. .if-label-iperf_stress_test: &if-label-iperf_stress_test
  260. if: '$BOT_LABEL_IPERF_STRESS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i'
  261. .if-label-macos: &if-label-macos
  262. if: '$BOT_LABEL_MACOS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i'
  263. .if-label-macos_test: &if-label-macos_test
  264. if: '$BOT_LABEL_MACOS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i'
  265. .if-label-nvs_coverage: &if-label-nvs_coverage
  266. if: '$BOT_LABEL_NVS_COVERAGE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i'
  267. .if-label-submodule: &if-label-submodule
  268. if: '$BOT_LABEL_SUBMODULE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i'
  269. .if-label-unit_test: &if-label-unit_test
  270. if: '$BOT_LABEL_UNIT_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i'
  271. .if-label-unit_test_esp32: &if-label-unit_test_esp32
  272. if: '$BOT_LABEL_UNIT_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i'
  273. .if-label-unit_test_esp32c3: &if-label-unit_test_esp32c3
  274. if: '$BOT_LABEL_UNIT_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i'
  275. .if-label-unit_test_esp32s2: &if-label-unit_test_esp32s2
  276. if: '$BOT_LABEL_UNIT_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i'
  277. .if-label-unit_test_esp32s3: &if-label-unit_test_esp32s3
  278. if: '$BOT_LABEL_UNIT_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i'
  279. .if-label-unit_test_esp8684: &if-label-unit_test_esp8684
  280. if: '$BOT_LABEL_UNIT_TEST_ESP8684 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp8684(?:,[^,\n\r]+)*$/i'
  281. .if-label-weekend_test: &if-label-weekend_test
  282. if: '$BOT_LABEL_WEEKEND_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i'
  283. .if-label-windows: &if-label-windows
  284. if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i'
  285. .rules:build:
  286. rules:
  287. - <<: *if-revert-branch
  288. when: never
  289. - <<: *if-protected
  290. - <<: *if-label-build
  291. - <<: *if-dev-push
  292. changes: *patterns-build_components
  293. - <<: *if-dev-push
  294. changes: *patterns-build_system
  295. .rules:build:component_ut-esp32:
  296. rules:
  297. - <<: *if-revert-branch
  298. when: never
  299. - <<: *if-protected
  300. - <<: *if-label-build
  301. - <<: *if-label-component_ut
  302. - <<: *if-label-component_ut_esp32
  303. - <<: *if-label-unit_test
  304. - <<: *if-label-unit_test_esp32
  305. - <<: *if-dev-push
  306. changes: *patterns-build_components
  307. - <<: *if-dev-push
  308. changes: *patterns-build_system
  309. - <<: *if-dev-push
  310. changes: *patterns-component_ut
  311. .rules:build:component_ut-esp32c3:
  312. rules:
  313. - <<: *if-revert-branch
  314. when: never
  315. - <<: *if-protected
  316. - <<: *if-label-build
  317. - <<: *if-label-component_ut
  318. - <<: *if-label-component_ut_esp32c3
  319. - <<: *if-label-unit_test
  320. - <<: *if-label-unit_test_esp32c3
  321. - <<: *if-dev-push
  322. changes: *patterns-build_components
  323. - <<: *if-dev-push
  324. changes: *patterns-build_system
  325. - <<: *if-dev-push
  326. changes: *patterns-component_ut
  327. .rules:build:component_ut-esp32s2:
  328. rules:
  329. - <<: *if-revert-branch
  330. when: never
  331. - <<: *if-protected
  332. - <<: *if-label-build
  333. - <<: *if-label-component_ut
  334. - <<: *if-label-component_ut_esp32s2
  335. - <<: *if-label-unit_test
  336. - <<: *if-label-unit_test_esp32s2
  337. - <<: *if-dev-push
  338. changes: *patterns-build_components
  339. - <<: *if-dev-push
  340. changes: *patterns-build_system
  341. - <<: *if-dev-push
  342. changes: *patterns-component_ut
  343. .rules:build:component_ut-esp32s3:
  344. rules:
  345. - <<: *if-revert-branch
  346. when: never
  347. - <<: *if-protected
  348. - <<: *if-label-build
  349. - <<: *if-label-component_ut
  350. - <<: *if-label-component_ut_esp32s3
  351. - <<: *if-label-unit_test
  352. - <<: *if-label-unit_test_esp32s3
  353. - <<: *if-dev-push
  354. changes: *patterns-build_components
  355. - <<: *if-dev-push
  356. changes: *patterns-build_system
  357. - <<: *if-dev-push
  358. changes: *patterns-component_ut
  359. .rules:build:component_ut-esp8684:
  360. rules:
  361. - <<: *if-revert-branch
  362. when: never
  363. - <<: *if-protected
  364. - <<: *if-label-build
  365. - <<: *if-label-component_ut
  366. - <<: *if-label-component_ut_esp8684
  367. - <<: *if-label-unit_test
  368. - <<: *if-label-unit_test_esp8684
  369. - <<: *if-dev-push
  370. changes: *patterns-build_components
  371. - <<: *if-dev-push
  372. changes: *patterns-build_system
  373. - <<: *if-dev-push
  374. changes: *patterns-component_ut
  375. .rules:build:custom_test-esp32:
  376. rules:
  377. - <<: *if-revert-branch
  378. when: never
  379. - <<: *if-protected
  380. - <<: *if-label-build
  381. - <<: *if-label-custom_test
  382. - <<: *if-label-custom_test_esp32
  383. - <<: *if-label-weekend_test
  384. - <<: *if-dev-push
  385. changes: *patterns-build_components
  386. - <<: *if-dev-push
  387. changes: *patterns-build_system
  388. - <<: *if-dev-push
  389. changes: *patterns-custom_test
  390. .rules:build:custom_test-esp32c3:
  391. rules:
  392. - <<: *if-revert-branch
  393. when: never
  394. - <<: *if-protected
  395. - <<: *if-label-build
  396. - <<: *if-label-custom_test
  397. - <<: *if-label-custom_test_esp32c3
  398. - <<: *if-dev-push
  399. changes: *patterns-build_components
  400. - <<: *if-dev-push
  401. changes: *patterns-build_system
  402. - <<: *if-dev-push
  403. changes: *patterns-custom_test
  404. .rules:build:custom_test-esp32s2:
  405. rules:
  406. - <<: *if-revert-branch
  407. when: never
  408. - <<: *if-protected
  409. - <<: *if-label-build
  410. - <<: *if-label-custom_test
  411. - <<: *if-label-custom_test_esp32s2
  412. - <<: *if-dev-push
  413. changes: *patterns-build_components
  414. - <<: *if-dev-push
  415. changes: *patterns-build_system
  416. - <<: *if-dev-push
  417. changes: *patterns-custom_test
  418. .rules:build:custom_test-esp32s3:
  419. rules:
  420. - <<: *if-revert-branch
  421. when: never
  422. - <<: *if-protected
  423. - <<: *if-label-build
  424. - <<: *if-label-custom_test
  425. - <<: *if-label-custom_test_esp32s3
  426. - <<: *if-dev-push
  427. changes: *patterns-build_components
  428. - <<: *if-dev-push
  429. changes: *patterns-build_system
  430. - <<: *if-dev-push
  431. changes: *patterns-custom_test
  432. .rules:build:custom_test-esp8684:
  433. rules:
  434. - <<: *if-revert-branch
  435. when: never
  436. - <<: *if-protected
  437. - <<: *if-label-build
  438. - <<: *if-label-custom_test
  439. - <<: *if-label-custom_test_esp8684
  440. - <<: *if-dev-push
  441. changes: *patterns-build_components
  442. - <<: *if-dev-push
  443. changes: *patterns-build_system
  444. - <<: *if-dev-push
  445. changes: *patterns-custom_test
  446. .rules:build:docker:
  447. rules:
  448. - <<: *if-revert-branch
  449. when: never
  450. - <<: *if-protected
  451. - <<: *if-label-build
  452. - <<: *if-label-docker
  453. - <<: *if-dev-push
  454. changes: *patterns-docker
  455. .rules:build:example_test-esp32:
  456. rules:
  457. - <<: *if-revert-branch
  458. when: never
  459. - <<: *if-protected
  460. - <<: *if-label-build
  461. - <<: *if-label-example_test
  462. - <<: *if-label-example_test_esp32
  463. - <<: *if-label-iperf_stress_test
  464. - <<: *if-dev-push
  465. changes: *patterns-build-example_test
  466. - <<: *if-dev-push
  467. changes: *patterns-build_components
  468. - <<: *if-dev-push
  469. changes: *patterns-build_system
  470. - <<: *if-dev-push
  471. changes: *patterns-example_test
  472. .rules:build:example_test-esp32c3:
  473. rules:
  474. - <<: *if-revert-branch
  475. when: never
  476. - <<: *if-protected
  477. - <<: *if-label-build
  478. - <<: *if-label-example_test
  479. - <<: *if-label-example_test_esp32c3
  480. - <<: *if-dev-push
  481. changes: *patterns-build-example_test
  482. - <<: *if-dev-push
  483. changes: *patterns-build_components
  484. - <<: *if-dev-push
  485. changes: *patterns-build_system
  486. - <<: *if-dev-push
  487. changes: *patterns-example_test
  488. .rules:build:example_test-esp32s2:
  489. rules:
  490. - <<: *if-revert-branch
  491. when: never
  492. - <<: *if-protected
  493. - <<: *if-label-build
  494. - <<: *if-label-example_test
  495. - <<: *if-label-example_test_esp32s2
  496. - <<: *if-dev-push
  497. changes: *patterns-build-example_test
  498. - <<: *if-dev-push
  499. changes: *patterns-build_components
  500. - <<: *if-dev-push
  501. changes: *patterns-build_system
  502. - <<: *if-dev-push
  503. changes: *patterns-example_test
  504. .rules:build:example_test-esp32s3:
  505. rules:
  506. - <<: *if-revert-branch
  507. when: never
  508. - <<: *if-protected
  509. - <<: *if-label-build
  510. - <<: *if-label-example_test
  511. - <<: *if-label-example_test_esp32s3
  512. - <<: *if-dev-push
  513. changes: *patterns-build-example_test
  514. - <<: *if-dev-push
  515. changes: *patterns-build_components
  516. - <<: *if-dev-push
  517. changes: *patterns-build_system
  518. - <<: *if-dev-push
  519. changes: *patterns-example_test
  520. .rules:build:example_test-esp8684:
  521. rules:
  522. - <<: *if-revert-branch
  523. when: never
  524. - <<: *if-protected
  525. - <<: *if-label-build
  526. - <<: *if-label-example_test
  527. - <<: *if-label-example_test_esp8684
  528. - <<: *if-dev-push
  529. changes: *patterns-build-example_test
  530. - <<: *if-dev-push
  531. changes: *patterns-build_components
  532. - <<: *if-dev-push
  533. changes: *patterns-build_system
  534. - <<: *if-dev-push
  535. changes: *patterns-example_test
  536. .rules:build:integration_test:
  537. rules:
  538. - <<: *if-revert-branch
  539. when: never
  540. - <<: *if-protected
  541. - <<: *if-label-build
  542. - <<: *if-label-integration_test
  543. - <<: *if-dev-push
  544. changes: *patterns-build_components
  545. - <<: *if-dev-push
  546. changes: *patterns-build_system
  547. - <<: *if-dev-push
  548. changes: *patterns-integration_test
  549. .rules:build:macos:
  550. rules:
  551. - <<: *if-revert-branch
  552. when: never
  553. - <<: *if-protected
  554. - <<: *if-label-build
  555. - <<: *if-label-macos
  556. - <<: *if-label-macos_test
  557. - <<: *if-dev-push
  558. changes: *patterns-build_system
  559. .rules:build:target_test:
  560. rules:
  561. - <<: *if-revert-branch
  562. when: never
  563. - <<: *if-protected
  564. - <<: *if-label-build
  565. - <<: *if-label-component_ut
  566. - <<: *if-label-component_ut_esp32
  567. - <<: *if-label-component_ut_esp32c3
  568. - <<: *if-label-component_ut_esp32s2
  569. - <<: *if-label-component_ut_esp32s3
  570. - <<: *if-label-component_ut_esp8684
  571. - <<: *if-label-custom_test
  572. - <<: *if-label-custom_test_esp32
  573. - <<: *if-label-custom_test_esp32c3
  574. - <<: *if-label-custom_test_esp32s2
  575. - <<: *if-label-custom_test_esp32s3
  576. - <<: *if-label-custom_test_esp8684
  577. - <<: *if-label-example_test
  578. - <<: *if-label-example_test_esp32
  579. - <<: *if-label-example_test_esp32c3
  580. - <<: *if-label-example_test_esp32s2
  581. - <<: *if-label-example_test_esp32s3
  582. - <<: *if-label-example_test_esp8684
  583. - <<: *if-label-integration_test
  584. - <<: *if-label-iperf_stress_test
  585. - <<: *if-label-unit_test
  586. - <<: *if-label-unit_test_esp32
  587. - <<: *if-label-unit_test_esp32c3
  588. - <<: *if-label-unit_test_esp32s2
  589. - <<: *if-label-unit_test_esp32s3
  590. - <<: *if-label-unit_test_esp8684
  591. - <<: *if-label-weekend_test
  592. - <<: *if-dev-push
  593. changes: *patterns-build-example_test
  594. - <<: *if-dev-push
  595. changes: *patterns-build_components
  596. - <<: *if-dev-push
  597. changes: *patterns-build_system
  598. - <<: *if-dev-push
  599. changes: *patterns-component_ut
  600. - <<: *if-dev-push
  601. changes: *patterns-custom_test
  602. - <<: *if-dev-push
  603. changes: *patterns-example_test
  604. - <<: *if-dev-push
  605. changes: *patterns-integration_test
  606. - <<: *if-dev-push
  607. changes: *patterns-unit_test
  608. .rules:build:unit_test-esp32:
  609. rules:
  610. - <<: *if-revert-branch
  611. when: never
  612. - <<: *if-protected
  613. - <<: *if-label-build
  614. - <<: *if-label-unit_test
  615. - <<: *if-label-unit_test_esp32
  616. - <<: *if-dev-push
  617. changes: *patterns-build_components
  618. - <<: *if-dev-push
  619. changes: *patterns-build_system
  620. - <<: *if-dev-push
  621. changes: *patterns-unit_test
  622. .rules:build:unit_test-esp32c3:
  623. rules:
  624. - <<: *if-revert-branch
  625. when: never
  626. - <<: *if-protected
  627. - <<: *if-label-build
  628. - <<: *if-label-unit_test
  629. - <<: *if-label-unit_test_esp32c3
  630. - <<: *if-dev-push
  631. changes: *patterns-build_components
  632. - <<: *if-dev-push
  633. changes: *patterns-build_system
  634. - <<: *if-dev-push
  635. changes: *patterns-unit_test
  636. .rules:build:unit_test-esp32s2:
  637. rules:
  638. - <<: *if-revert-branch
  639. when: never
  640. - <<: *if-protected
  641. - <<: *if-label-build
  642. - <<: *if-label-unit_test
  643. - <<: *if-label-unit_test_esp32s2
  644. - <<: *if-dev-push
  645. changes: *patterns-build_components
  646. - <<: *if-dev-push
  647. changes: *patterns-build_system
  648. - <<: *if-dev-push
  649. changes: *patterns-unit_test
  650. .rules:build:unit_test-esp32s3:
  651. rules:
  652. - <<: *if-revert-branch
  653. when: never
  654. - <<: *if-protected
  655. - <<: *if-label-build
  656. - <<: *if-label-unit_test
  657. - <<: *if-label-unit_test_esp32s3
  658. - <<: *if-dev-push
  659. changes: *patterns-build_components
  660. - <<: *if-dev-push
  661. changes: *patterns-build_system
  662. - <<: *if-dev-push
  663. changes: *patterns-unit_test
  664. .rules:build:unit_test-esp8684:
  665. rules:
  666. - <<: *if-revert-branch
  667. when: never
  668. - <<: *if-protected
  669. - <<: *if-label-build
  670. - <<: *if-label-unit_test
  671. - <<: *if-label-unit_test_esp8684
  672. - <<: *if-dev-push
  673. changes: *patterns-build_components
  674. - <<: *if-dev-push
  675. changes: *patterns-build_system
  676. - <<: *if-dev-push
  677. changes: *patterns-unit_test
  678. .rules:build:windows:
  679. rules:
  680. - <<: *if-revert-branch
  681. when: never
  682. - <<: *if-protected
  683. - <<: *if-label-build
  684. - <<: *if-label-windows
  685. - <<: *if-dev-push
  686. changes: *patterns-build_system
  687. - <<: *if-dev-push
  688. changes: *patterns-windows
  689. .rules:labels:fuzzer_test-weekend_test:
  690. rules:
  691. - <<: *if-revert-branch
  692. when: never
  693. - <<: *if-label-fuzzer_test
  694. - <<: *if-label-weekend_test
  695. .rules:labels:iperf_stress_test:
  696. rules:
  697. - <<: *if-revert-branch
  698. when: never
  699. - <<: *if-label-iperf_stress_test
  700. .rules:labels:nvs_coverage:
  701. rules:
  702. - <<: *if-revert-branch
  703. when: never
  704. - <<: *if-label-nvs_coverage
  705. .rules:labels:weekend_test:
  706. rules:
  707. - <<: *if-revert-branch
  708. when: never
  709. - <<: *if-label-weekend_test
  710. .rules:test:any_test:
  711. rules:
  712. - <<: *if-revert-branch
  713. when: never
  714. - <<: *if-protected
  715. - <<: *if-label-build-only
  716. when: never
  717. - <<: *if-label-component_ut
  718. - <<: *if-label-component_ut_esp32
  719. - <<: *if-label-component_ut_esp32c3
  720. - <<: *if-label-component_ut_esp32s2
  721. - <<: *if-label-component_ut_esp32s3
  722. - <<: *if-label-component_ut_esp8684
  723. - <<: *if-label-custom_test
  724. - <<: *if-label-custom_test_esp32
  725. - <<: *if-label-custom_test_esp32c3
  726. - <<: *if-label-custom_test_esp32s2
  727. - <<: *if-label-custom_test_esp32s3
  728. - <<: *if-label-custom_test_esp8684
  729. - <<: *if-label-example_test
  730. - <<: *if-label-example_test_esp32
  731. - <<: *if-label-example_test_esp32c3
  732. - <<: *if-label-example_test_esp32s2
  733. - <<: *if-label-example_test_esp32s3
  734. - <<: *if-label-example_test_esp8684
  735. - <<: *if-label-host_test
  736. - <<: *if-label-integration_test
  737. - <<: *if-label-iperf_stress_test
  738. - <<: *if-label-unit_test
  739. - <<: *if-label-unit_test_esp32
  740. - <<: *if-label-unit_test_esp32c3
  741. - <<: *if-label-unit_test_esp32s2
  742. - <<: *if-label-unit_test_esp32s3
  743. - <<: *if-label-unit_test_esp8684
  744. - <<: *if-label-weekend_test
  745. - <<: *if-dev-push
  746. changes: *patterns-build-example_test
  747. - <<: *if-dev-push
  748. changes: *patterns-component_ut
  749. - <<: *if-dev-push
  750. changes: *patterns-custom_test
  751. - <<: *if-dev-push
  752. changes: *patterns-example_test
  753. - <<: *if-dev-push
  754. changes: *patterns-host_test
  755. - <<: *if-dev-push
  756. changes: *patterns-integration_test
  757. - <<: *if-dev-push
  758. changes: *patterns-unit_test
  759. .rules:test:component_ut-esp32:
  760. rules:
  761. - <<: *if-revert-branch
  762. when: never
  763. - <<: *if-protected
  764. - <<: *if-label-build-only
  765. when: never
  766. - <<: *if-label-component_ut
  767. - <<: *if-label-component_ut_esp32
  768. - <<: *if-label-unit_test
  769. - <<: *if-label-unit_test_esp32
  770. - <<: *if-dev-push
  771. changes: *patterns-component_ut
  772. .rules:test:component_ut-esp32c3:
  773. rules:
  774. - <<: *if-revert-branch
  775. when: never
  776. - <<: *if-protected
  777. - <<: *if-label-build-only
  778. when: never
  779. - <<: *if-label-component_ut
  780. - <<: *if-label-component_ut_esp32c3
  781. - <<: *if-label-unit_test
  782. - <<: *if-label-unit_test_esp32c3
  783. - <<: *if-dev-push
  784. changes: *patterns-component_ut
  785. .rules:test:component_ut-esp32s2:
  786. rules:
  787. - <<: *if-revert-branch
  788. when: never
  789. - <<: *if-protected
  790. - <<: *if-label-build-only
  791. when: never
  792. - <<: *if-label-component_ut
  793. - <<: *if-label-component_ut_esp32s2
  794. - <<: *if-label-unit_test
  795. - <<: *if-label-unit_test_esp32s2
  796. - <<: *if-dev-push
  797. changes: *patterns-component_ut
  798. .rules:test:component_ut-esp32s3:
  799. rules:
  800. - <<: *if-revert-branch
  801. when: never
  802. - <<: *if-protected
  803. - <<: *if-label-build-only
  804. when: never
  805. - <<: *if-label-component_ut
  806. - <<: *if-label-component_ut_esp32s3
  807. - <<: *if-label-unit_test
  808. - <<: *if-label-unit_test_esp32s3
  809. - <<: *if-dev-push
  810. changes: *patterns-component_ut
  811. .rules:test:component_ut-esp8684:
  812. rules:
  813. - <<: *if-revert-branch
  814. when: never
  815. - <<: *if-protected
  816. - <<: *if-label-build-only
  817. when: never
  818. - <<: *if-label-component_ut
  819. - <<: *if-label-component_ut_esp8684
  820. - <<: *if-label-unit_test
  821. - <<: *if-label-unit_test_esp8684
  822. - <<: *if-dev-push
  823. changes: *patterns-component_ut
  824. .rules:test:custom_test-esp32:
  825. rules:
  826. - <<: *if-revert-branch
  827. when: never
  828. - <<: *if-protected
  829. - <<: *if-label-build-only
  830. when: never
  831. - <<: *if-label-custom_test
  832. - <<: *if-label-custom_test_esp32
  833. - <<: *if-dev-push
  834. changes: *patterns-custom_test
  835. .rules:test:custom_test-esp32c3:
  836. rules:
  837. - <<: *if-revert-branch
  838. when: never
  839. - <<: *if-protected
  840. - <<: *if-label-build-only
  841. when: never
  842. - <<: *if-label-custom_test
  843. - <<: *if-label-custom_test_esp32c3
  844. - <<: *if-dev-push
  845. changes: *patterns-custom_test
  846. .rules:test:custom_test-esp32s2:
  847. rules:
  848. - <<: *if-revert-branch
  849. when: never
  850. - <<: *if-protected
  851. - <<: *if-label-build-only
  852. when: never
  853. - <<: *if-label-custom_test
  854. - <<: *if-label-custom_test_esp32s2
  855. - <<: *if-dev-push
  856. changes: *patterns-custom_test
  857. .rules:test:custom_test-esp32s3:
  858. rules:
  859. - <<: *if-revert-branch
  860. when: never
  861. - <<: *if-protected
  862. - <<: *if-label-build-only
  863. when: never
  864. - <<: *if-label-custom_test
  865. - <<: *if-label-custom_test_esp32s3
  866. - <<: *if-dev-push
  867. changes: *patterns-custom_test
  868. .rules:test:custom_test-esp8684:
  869. rules:
  870. - <<: *if-revert-branch
  871. when: never
  872. - <<: *if-protected
  873. - <<: *if-label-build-only
  874. when: never
  875. - <<: *if-label-custom_test
  876. - <<: *if-label-custom_test_esp8684
  877. - <<: *if-dev-push
  878. changes: *patterns-custom_test
  879. .rules:test:example_test-esp32:
  880. rules:
  881. - <<: *if-revert-branch
  882. when: never
  883. - <<: *if-protected
  884. - <<: *if-label-build-only
  885. when: never
  886. - <<: *if-label-example_test
  887. - <<: *if-label-example_test_esp32
  888. - <<: *if-dev-push
  889. changes: *patterns-build-example_test
  890. - <<: *if-dev-push
  891. changes: *patterns-example_test
  892. .rules:test:example_test-esp32c3:
  893. rules:
  894. - <<: *if-revert-branch
  895. when: never
  896. - <<: *if-protected
  897. - <<: *if-label-build-only
  898. when: never
  899. - <<: *if-label-example_test
  900. - <<: *if-label-example_test_esp32c3
  901. - <<: *if-dev-push
  902. changes: *patterns-build-example_test
  903. - <<: *if-dev-push
  904. changes: *patterns-example_test
  905. .rules:test:example_test-esp32s2:
  906. rules:
  907. - <<: *if-revert-branch
  908. when: never
  909. - <<: *if-protected
  910. - <<: *if-label-build-only
  911. when: never
  912. - <<: *if-label-example_test
  913. - <<: *if-label-example_test_esp32s2
  914. - <<: *if-dev-push
  915. changes: *patterns-build-example_test
  916. - <<: *if-dev-push
  917. changes: *patterns-example_test
  918. .rules:test:example_test-esp32s3:
  919. rules:
  920. - <<: *if-revert-branch
  921. when: never
  922. - <<: *if-protected
  923. - <<: *if-label-build-only
  924. when: never
  925. - <<: *if-label-example_test
  926. - <<: *if-label-example_test_esp32s3
  927. - <<: *if-dev-push
  928. changes: *patterns-build-example_test
  929. - <<: *if-dev-push
  930. changes: *patterns-example_test
  931. .rules:test:example_test-esp8684:
  932. rules:
  933. - <<: *if-revert-branch
  934. when: never
  935. - <<: *if-protected
  936. - <<: *if-label-build-only
  937. when: never
  938. - <<: *if-label-example_test
  939. - <<: *if-label-example_test_esp8684
  940. - <<: *if-dev-push
  941. changes: *patterns-build-example_test
  942. - <<: *if-dev-push
  943. changes: *patterns-example_test
  944. .rules:test:host_test:
  945. rules:
  946. - <<: *if-revert-branch
  947. when: never
  948. - <<: *if-protected
  949. - <<: *if-label-build-only
  950. when: never
  951. - <<: *if-label-host_test
  952. - <<: *if-dev-push
  953. changes: *patterns-host_test
  954. .rules:test:integration_test:
  955. rules:
  956. - <<: *if-revert-branch
  957. when: never
  958. - <<: *if-protected
  959. - <<: *if-label-build-only
  960. when: never
  961. - <<: *if-label-integration_test
  962. - <<: *if-dev-push
  963. changes: *patterns-integration_test
  964. .rules:test:submodule:
  965. rules:
  966. - <<: *if-revert-branch
  967. when: never
  968. - <<: *if-protected
  969. - <<: *if-label-build-only
  970. when: never
  971. - <<: *if-label-submodule
  972. - <<: *if-dev-push
  973. changes: *patterns-submodule
  974. .rules:test:target_test:
  975. rules:
  976. - <<: *if-revert-branch
  977. when: never
  978. - <<: *if-protected
  979. - <<: *if-label-build-only
  980. when: never
  981. - <<: *if-label-component_ut
  982. - <<: *if-label-component_ut_esp32
  983. - <<: *if-label-component_ut_esp32c3
  984. - <<: *if-label-component_ut_esp32s2
  985. - <<: *if-label-component_ut_esp32s3
  986. - <<: *if-label-component_ut_esp8684
  987. - <<: *if-label-custom_test
  988. - <<: *if-label-custom_test_esp32
  989. - <<: *if-label-custom_test_esp32c3
  990. - <<: *if-label-custom_test_esp32s2
  991. - <<: *if-label-custom_test_esp32s3
  992. - <<: *if-label-custom_test_esp8684
  993. - <<: *if-label-example_test
  994. - <<: *if-label-example_test_esp32
  995. - <<: *if-label-example_test_esp32c3
  996. - <<: *if-label-example_test_esp32s2
  997. - <<: *if-label-example_test_esp32s3
  998. - <<: *if-label-example_test_esp8684
  999. - <<: *if-label-integration_test
  1000. - <<: *if-label-unit_test
  1001. - <<: *if-label-unit_test_esp32
  1002. - <<: *if-label-unit_test_esp32c3
  1003. - <<: *if-label-unit_test_esp32s2
  1004. - <<: *if-label-unit_test_esp32s3
  1005. - <<: *if-label-unit_test_esp8684
  1006. - <<: *if-dev-push
  1007. changes: *patterns-build-example_test
  1008. - <<: *if-dev-push
  1009. changes: *patterns-component_ut
  1010. - <<: *if-dev-push
  1011. changes: *patterns-custom_test
  1012. - <<: *if-dev-push
  1013. changes: *patterns-example_test
  1014. - <<: *if-dev-push
  1015. changes: *patterns-integration_test
  1016. - <<: *if-dev-push
  1017. changes: *patterns-unit_test
  1018. .rules:test:unit_test-esp32:
  1019. rules:
  1020. - <<: *if-revert-branch
  1021. when: never
  1022. - <<: *if-protected
  1023. - <<: *if-label-build-only
  1024. when: never
  1025. - <<: *if-label-unit_test
  1026. - <<: *if-label-unit_test_esp32
  1027. - <<: *if-dev-push
  1028. changes: *patterns-unit_test
  1029. .rules:test:unit_test-esp32c3:
  1030. rules:
  1031. - <<: *if-revert-branch
  1032. when: never
  1033. - <<: *if-protected
  1034. - <<: *if-label-build-only
  1035. when: never
  1036. - <<: *if-label-unit_test
  1037. - <<: *if-label-unit_test_esp32c3
  1038. - <<: *if-dev-push
  1039. changes: *patterns-unit_test
  1040. .rules:test:unit_test-esp32s2:
  1041. rules:
  1042. - <<: *if-revert-branch
  1043. when: never
  1044. - <<: *if-protected
  1045. - <<: *if-label-build-only
  1046. when: never
  1047. - <<: *if-label-unit_test
  1048. - <<: *if-label-unit_test_esp32s2
  1049. - <<: *if-dev-push
  1050. changes: *patterns-unit_test
  1051. .rules:test:unit_test-esp32s3:
  1052. rules:
  1053. - <<: *if-revert-branch
  1054. when: never
  1055. - <<: *if-protected
  1056. - <<: *if-label-build-only
  1057. when: never
  1058. - <<: *if-label-unit_test
  1059. - <<: *if-label-unit_test_esp32s3
  1060. - <<: *if-dev-push
  1061. changes: *patterns-unit_test
  1062. .rules:test:unit_test-esp8684:
  1063. rules:
  1064. - <<: *if-revert-branch
  1065. when: never
  1066. - <<: *if-protected
  1067. - <<: *if-label-build-only
  1068. when: never
  1069. - <<: *if-label-unit_test
  1070. - <<: *if-label-unit_test_esp8684
  1071. - <<: *if-dev-push
  1072. changes: *patterns-unit_test