Jelajahi Sumber

ci: add idf_pytest package into patterns to trigger target test jobs

Fu Hanxi 2 tahun lalu
induk
melakukan
ad9b07f589
2 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 0
      .gitlab/ci/rules.yml
  2. 0 1
      tools/ci/exclude_check_tools_files.txt

+ 3 - 0
.gitlab/ci/rules.yml

@@ -24,6 +24,7 @@
   - "tools/ci/sonar_exclude_list.txt"
 
 .patterns-example_test: &patterns-example_test
+  - "tools/ci/idf_pytest/**/*"
   - "tools/ci/python_packages/gitlab_api.py"
   - "tools/ci/python_packages/idf_http_server_test/**/*"
   - "tools/ci/python_packages/idf_iperf_test_util/**/*"
@@ -70,6 +71,7 @@
   - "tools/test_sbom/*"
 
 .patterns-custom_test: &patterns-custom_test
+  - "tools/ci/idf_pytest/**/*"
   - "tools/ci/python_packages/gitlab_api.py"
   - "tools/ci/python_packages/common_test_methods.py"
 
@@ -77,6 +79,7 @@
   - "tools/ldgen/**/*"
 
 .patterns-component_ut: &patterns-component_ut
+  - "tools/ci/idf_pytest/**/*"
   - "tools/ci/python_packages/gitlab_api.py"
   - "tools/ci/python_packages/common_test_methods.py"
   - "tools/test_apps/configs/sdkconfig.debug_helpers"

+ 0 - 1
tools/ci/exclude_check_tools_files.txt

@@ -39,6 +39,5 @@ tools/templates/sample_component/CMakeLists.txt
 tools/templates/sample_component/include/main.h
 tools/templates/sample_component/main.c
 tools/ci/cleanup_ignore_lists.py
-tools/ci/idf_pytest/**/*
 tools/ci/artifacts_handler.py
 tools/unit-test-app/**/*