diff --git a/examples/openthread/.build-test-rules.yml b/examples/openthread/.build-test-rules.yml index 75acba2f4d..177c7a1049 100644 --- a/examples/openthread/.build-test-rules.yml +++ b/examples/openthread/.build-test-rules.yml @@ -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 diff --git a/examples/openthread/pytest_otbr.py b/examples/openthread/pytest_otbr.py index 7af4661aac..7d00204e96 100644 --- a/examples/openthread/pytest_otbr.py +++ b/examples/openthread/pytest_otbr.py @@ -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,