Merge branch 'bugfix/enable_build_of_ot_related_modification' into 'master'

OpenThread CI: build 3 apps when the OpenThread related modifications exist

See merge request espressif/esp-idf!24089
This commit is contained in:
Xu Si Yu 2023-06-07 18:08:07 +08:00
commit cbddae6043
2 changed files with 25 additions and 1 deletions

View File

@ -1,5 +1,26 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
# TODO: Modify the configuration after the files matching rules are changed
# Or delete TODO without modifying the configuration if it is sure that current rules are correct.
.openthread_dependencies: &openthread_dependencies
depends_filepatterns:
- components/esp_coex/*
- components/esp_coex/**/*
- components/esp_netif/*
- components/esp_netif/**/*
- components/esp_phy/*
- components/esp_phy/**/*
- components/ieee802154/*
- components/ieee802154/**/*
- components/lwip/*
- components/lwip/**/*
- components/openthread/*
- components/openthread/**/*
- examples/common_components/iperf/*
- examples/common_components/iperf/**/*
- examples/openthread/*
- examples/openthread/**/*
examples/openthread/ot_br:
disable:
- if: IDF_TARGET in ["esp32h2"]
@ -9,6 +30,7 @@ examples/openthread/ot_br:
- if: IDF_TARGET in ["esp32", "esp32c3", "esp32c2", "esp32c6", "esp32s2"]
temporary: true
reason: only test on esp32s3
<<: *openthread_dependencies
examples/openthread/ot_cli:
enable:
@ -17,6 +39,7 @@ examples/openthread/ot_cli:
- if: IDF_TARGET == "esp32c6"
temporary: true
reason: only test on esp32h2
<<: *openthread_dependencies
examples/openthread/ot_rcp:
enable:
@ -25,3 +48,4 @@ examples/openthread/ot_rcp:
- if: IDF_TARGET == "esp32h2"
temporary: true
reason: only test on esp32c6
<<: *openthread_dependencies

View File

@ -141,7 +141,7 @@ def formBasicWiFiThreadNetwork(br:IdfDut, cli:IdfDut) -> None:
@pytest.mark.esp32h2
@pytest.mark.esp32c6
@pytest.mark.openthread_br
@pytest.mark.flaky(reruns=0, reruns_delay=1)
@pytest.mark.flaky(reruns=1, reruns_delay=1)
@pytest.mark.parametrize(
'config, count, app_path, target', [
('rcp|cli_h2|br', 3,