Merge branch 'feature/lan8720_to_new_runner_v5.0' into 'release/v5.0'

ci(esp_eth): moved LAN8720 test to a new runner

See merge request espressif/esp-idf!28258
This commit is contained in:
David Čermák 2024-01-08 23:52:08 +08:00
commit 25b8c3d573
3 changed files with 4 additions and 3 deletions

View File

@ -322,7 +322,7 @@ component_ut_pytest_esp32_lan8720:
- .rules:labels-protected:lan8720 # FIXME: IDFCI-1176
needs:
- build_pytest_components_esp32
tags: [ esp32, lan8720 ]
tags: [ esp32, eth_lan8720 ]
component_ut_pytest_esp32_flash_encryption:
extends:

View File

@ -24,6 +24,7 @@ class EthTestIntf(object):
def find_target_if(self, my_if: str = '') -> None:
# try to determine which interface to use
netifs = os.listdir('/sys/class/net/')
netifs.sort(reverse=True)
logging.info('detected interfaces: %s', str(netifs))
for netif in netifs:
@ -181,7 +182,7 @@ def test_esp_eth_ip101(dut: Dut) -> None:
@pytest.mark.esp32
@pytest.mark.lan8720
@pytest.mark.eth_lan8720
@pytest.mark.parametrize('config', [
'lan8720',
], indirect=True)

View File

@ -33,7 +33,7 @@ markers =
nightly_run: tests should be executed as part of the nightly trigger pipeline
flash_suspend: support flash suspend feature
ip101: connected via wired 10/100M ethernet
lan8720: connected via LAN8720 ethernet transceiver
eth_lan8720: connected via LAN8720 ethernet transceiver
quad_psram: runners with quad psram
octal_psram: runners with octal psram
usb_host: usb host runners