Merge branch 'ci/run_esp_http_client_on_shanghai_runners' into 'master'

fix(ci): Update HTTP client example tests runner assignment

See merge request espressif/esp-idf!24863
This commit is contained in:
Mahavir Jain 2023-07-21 16:48:13 +08:00
commit 2d37a00512
3 changed files with 11 additions and 2 deletions

View File

@ -266,6 +266,14 @@ pytest_examples_esp32_ethernet:
- build_pytest_examples_esp32
tags: [ esp32, ethernet]
pytest_examples_esp32_ethernet_httpbin:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-ethernet
needs:
- build_pytest_examples_esp32
tags: [ esp32, httpbin]
pytest_examples_esp32_8mb_flash:
extends:
- .pytest_examples_dir_template

View File

@ -128,6 +128,7 @@ ENV_MARKERS = {
'eth_w5500': 'SPI Ethernet module with two W5500',
'nvs_encr_hmac': 'Runner with test HMAC key programmed in efuse',
'i2c_oled': 'Runner with ssd1306 I2C oled connected',
'httpbin': 'runner for tests that need to access the httpbin service',
# multi-dut markers
'ieee802154': 'ieee802154 related tests should run on ieee802154 runners.',
'openthread_br': 'tests should be used for openthread border router.',

View File

@ -8,7 +8,7 @@ from pytest_embedded import Dut
@pytest.mark.esp32
@pytest.mark.ethernet
@pytest.mark.httpbin
def test_examples_protocol_esp_http_client(dut: Dut) -> None:
"""
steps: |
@ -55,7 +55,7 @@ def test_examples_protocol_esp_http_client(dut: Dut) -> None:
@pytest.mark.esp32
@pytest.mark.ethernet
@pytest.mark.httpbin
@pytest.mark.parametrize('config', [
'ssldyn',
], indirect=True)