mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'ci/bugfix/example_c3_not_working_when_build_only_label' into 'master'
ci: add example c3 as a special case for build only See merge request espressif/esp-idf!12933
This commit is contained in:
commit
972d858409
@ -145,7 +145,8 @@
|
||||
labels:
|
||||
- example_test_esp32c3
|
||||
included_in:
|
||||
- "build:example_test-esp32c3"
|
||||
- build:example_test-esp32c3
|
||||
- build:target_test
|
||||
|
||||
"test:integration_test":
|
||||
labels:
|
||||
|
@ -217,7 +217,8 @@ class RulesWriter:
|
||||
else:
|
||||
if not (name.endswith('-preview') or name.startswith('labels:')):
|
||||
_rules.append(self.RULE_PROTECTED)
|
||||
if name.startswith('test:'):
|
||||
# Special case for esp32c3 example_test, for now it only run with label
|
||||
if name.startswith('test:') or name == 'labels:example_test-esp32c3':
|
||||
_rules.append(self.RULE_BUILD_ONLY)
|
||||
for label in cfg['labels']:
|
||||
_rules.append(self.RULE_LABEL_TEMPLATE.format(label))
|
||||
|
@ -602,6 +602,7 @@
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-label-integration_test
|
||||
@ -691,6 +692,8 @@
|
||||
|
||||
.rules:labels:example_test-esp32c3:
|
||||
rules:
|
||||
- <<: *if-label-build-only
|
||||
when: never
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
|
||||
.rules:labels:fuzzer_test-weekend_test:
|
||||
|
Loading…
x
Reference in New Issue
Block a user