ci: run c3 unit test when other unit test run
C3 unit test were only being ran by unit_test_esp32c3 label/title, should also be trigger by unit_test label/title
This commit is contained in:
@@ -139,15 +139,6 @@
|
||||
- test:target_test
|
||||
- test:any_test
|
||||
|
||||
# due to the lack of runners, c3 tests will only be triggered by label
|
||||
"test:unit_test-esp32c3":
|
||||
labels:
|
||||
- unit_test_esp32c3
|
||||
patterns:
|
||||
- "build-unit_test-esp32c3"
|
||||
included_in:
|
||||
- "build:unit_test-esp32c3"
|
||||
|
||||
"test:example_test-esp32c3": # For esp32c3 we trigger only with label
|
||||
|
||||
"labels:example_test-esp32c3":
|
||||
|
||||
@@ -644,11 +644,14 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_system
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-unit_test
|
||||
|
||||
.rules:build:unit_test-esp32s2:
|
||||
rules:
|
||||
@@ -952,7 +955,10 @@
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build-only
|
||||
when: never
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-unit_test
|
||||
|
||||
.rules:test:unit_test-esp32s2:
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user