Merge branch 'ci/run_pytest_build_system_win_only_with_label_or_schedule' into 'master'

ci: run pytest_build_system_win only with labels and schedule pipeline

See merge request espressif/esp-idf!27744
This commit is contained in:
Fu Hanxi 2023-12-07 22:56:15 +08:00
commit b5c0293541
3 changed files with 14 additions and 17 deletions

View File

@ -569,7 +569,7 @@ pytest_build_system_macos:
pytest_build_system_win:
extends:
- .test_build_system_template_win
- .rules:test:windows_pytest_build_system
- .rules:labels:windows_pytest_build_system
needs: []
tags:
- windows-target

View File

@ -175,15 +175,15 @@
patterns:
- submodule
"test:windows_pytest_build_system":
labels:
- windows
specific_rules:
- if-schedule-test-build-system-windows
#################################
# Triggered Only By Labels Jobs #
#################################
"labels:nvs_coverage": # host_test
labels:
- nvs_coverage
"labels:windows_pytest_build_system":
labels:
- windows
specific_rules:
- if-schedule-test-build-system-windows

View File

@ -1615,6 +1615,13 @@
when: never
- <<: *if-label-nvs_coverage
.rules:labels:windows_pytest_build_system:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-schedule-test-build-system-windows
- <<: *if-label-windows
.rules:test:component_ut-esp32:
rules:
- <<: *if-revert-branch
@ -2579,13 +2586,3 @@
- <<: *if-label-submodule
- <<: *if-dev-push
changes: *patterns-submodule
.rules:test:windows_pytest_build_system:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-schedule-test-build-system-windows
- <<: *if-label-windows