mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/c3_unit_test_rule' into 'master'
ci: run c3 unit tests when other unit test run See merge request espressif/esp-idf!12595
This commit is contained in:
commit
93a9803378
@ -139,15 +139,6 @@
|
|||||||
- test:target_test
|
- test:target_test
|
||||||
- test:any_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
|
"test:example_test-esp32c3": # For esp32c3 we trigger only with label
|
||||||
|
|
||||||
"labels:example_test-esp32c3":
|
"labels:example_test-esp32c3":
|
||||||
|
@ -644,11 +644,14 @@
|
|||||||
rules:
|
rules:
|
||||||
- <<: *if-protected
|
- <<: *if-protected
|
||||||
- <<: *if-label-build
|
- <<: *if-label-build
|
||||||
|
- <<: *if-label-unit_test
|
||||||
- <<: *if-label-unit_test_esp32c3
|
- <<: *if-label-unit_test_esp32c3
|
||||||
- <<: *if-dev-push
|
- <<: *if-dev-push
|
||||||
changes: *patterns-build_components
|
changes: *patterns-build_components
|
||||||
- <<: *if-dev-push
|
- <<: *if-dev-push
|
||||||
changes: *patterns-build_system
|
changes: *patterns-build_system
|
||||||
|
- <<: *if-dev-push
|
||||||
|
changes: *patterns-unit_test
|
||||||
|
|
||||||
.rules:build:unit_test-esp32s2:
|
.rules:build:unit_test-esp32s2:
|
||||||
rules:
|
rules:
|
||||||
@ -952,7 +955,10 @@
|
|||||||
- <<: *if-protected
|
- <<: *if-protected
|
||||||
- <<: *if-label-build-only
|
- <<: *if-label-build-only
|
||||||
when: never
|
when: never
|
||||||
|
- <<: *if-label-unit_test
|
||||||
- <<: *if-label-unit_test_esp32c3
|
- <<: *if-label-unit_test_esp32c3
|
||||||
|
- <<: *if-dev-push
|
||||||
|
changes: *patterns-unit_test
|
||||||
|
|
||||||
.rules:test:unit_test-esp32s2:
|
.rules:test:unit_test-esp32s2:
|
||||||
rules:
|
rules:
|
||||||
|
@ -87,7 +87,7 @@ repos:
|
|||||||
name: Check rules are generated (based on .gitlab/ci/dependencies/dependencies.yml)
|
name: Check rules are generated (based on .gitlab/ci/dependencies/dependencies.yml)
|
||||||
entry: .gitlab/ci/dependencies/generate_rules.py
|
entry: .gitlab/ci/dependencies/generate_rules.py
|
||||||
language: python
|
language: python
|
||||||
files: '\.gitlab/ci/dependencies/.+'
|
files: '\.gitlab/ci/dependencies/.+|\.gitlab/ci/rules\.yml'
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- PyYAML == 5.3.1
|
- PyYAML == 5.3.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user