diff --git a/components/mqtt/test_apps/.build-test-rules.yml b/components/mqtt/test_apps/.build-test-rules.yml index 5a5f690..2e58826 100644 --- a/components/mqtt/test_apps/.build-test-rules.yml +++ b/components/mqtt/test_apps/.build-test-rules.yml @@ -1,7 +1,19 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps components/mqtt/test_apps: + disable: + - if: IDF_TARGET not in ["esp32", "esp32c3"] + reason: component test apps, needn't build all targets (chosen two, one for each architecture) disable_test: - - if: IDF_TARGET not in ["esp32", "esp32c2"] + - if: IDF_TARGET != "esp32" temporary: false - reason: Not needed to test on all targets (chosen two, one for each architecture) + reason: Only esp32 target has ethernet runners + depends_components: + - mqtt + - tcp_transport + - app_update + - esp_eth + - esp_netif + - esp_event + depends_filepatterns: + - components/mqtt/test_apps/common/**/* diff --git a/components/mqtt/test_apps/test_mqtt/README.md b/components/mqtt/test_apps/test_mqtt/README.md index bf47d80..1fb88ef 100644 --- a/components/mqtt/test_apps/test_mqtt/README.md +++ b/components/mqtt/test_apps/test_mqtt/README.md @@ -1,2 +1,2 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C3 | +| ----------------- | ----- | -------- | diff --git a/components/mqtt/test_apps/test_mqtt/pytest_mqtt_ut.py b/components/mqtt/test_apps/test_mqtt/pytest_mqtt_ut.py index f3333fa..300d53e 100644 --- a/components/mqtt/test_apps/test_mqtt/pytest_mqtt_ut.py +++ b/components/mqtt/test_apps/test_mqtt/pytest_mqtt_ut.py @@ -5,7 +5,6 @@ from pytest_embedded import Dut @pytest.mark.esp32 -@pytest.mark.esp32c2 @pytest.mark.ethernet def test_mqtt_client(dut: Dut) -> None: dut.expect_unity_test_output() diff --git a/components/mqtt/test_apps/test_mqtt5/README.md b/components/mqtt/test_apps/test_mqtt5/README.md index bf47d80..1fb88ef 100644 --- a/components/mqtt/test_apps/test_mqtt5/README.md +++ b/components/mqtt/test_apps/test_mqtt5/README.md @@ -1,2 +1,2 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C3 | +| ----------------- | ----- | -------- | diff --git a/components/mqtt/test_apps/test_mqtt5/pytest_mqtt5_ut.py b/components/mqtt/test_apps/test_mqtt5/pytest_mqtt5_ut.py index 35766cb..df15c39 100644 --- a/components/mqtt/test_apps/test_mqtt5/pytest_mqtt5_ut.py +++ b/components/mqtt/test_apps/test_mqtt5/pytest_mqtt5_ut.py @@ -5,7 +5,6 @@ from pytest_embedded import Dut @pytest.mark.esp32 -@pytest.mark.esp32c2 @pytest.mark.ethernet def test_mqtt5_client(dut: Dut) -> None: dut.expect_unity_test_output()