Merge branch 'ci/add_nightly_run_rules_for_jobs' into 'master'

CI: add specific job rules

Closes IDF-5474

See merge request espressif/esp-idf!18950
This commit is contained in:
Jiang Jiang Jian
2022-07-12 11:01:56 +08:00
8 changed files with 366 additions and 12 deletions
@@ -577,8 +577,8 @@ def test_examples_protocol_advanced_https_ota_example_partial_request(dut: Dut)
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.wifi_ota
@pytest.mark.nightly_run
@pytest.mark.parametrize('config', ['nimble',], indirect=True)
@pytest.mark.xfail(run=False)
def test_examples_protocol_advanced_https_ota_example_nimble_gatts(dut: Dut) -> None:
"""
Run an OTA image update while a BLE GATT Server is running in background. This GATT server will be using NimBLE Host stack.
@@ -621,8 +621,8 @@ def test_examples_protocol_advanced_https_ota_example_nimble_gatts(dut: Dut) ->
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.wifi_ota
@pytest.mark.nightly_run
@pytest.mark.parametrize('config', ['bluedroid',], indirect=True)
@pytest.mark.xfail(run=False)
def test_examples_protocol_advanced_https_ota_example_bluedroid_gatts(dut: Dut) -> None:
"""
Run an OTA image update while a BLE GATT Server is running in background. This GATT server will be using Bluedroid Host stack.
@@ -11,7 +11,7 @@ from pytest_embedded import Dut
@pytest.mark.supported_targets
@pytest.mark.wifi
@pytest.mark.generic
def test_otatool_example(dut: Dut) -> None:
# Verify factory firmware
dut.expect('OTA Tool Example')
@@ -119,7 +119,7 @@ def calc_all_sha256(dut: Dut) -> Tuple[str, str]:
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.wifi_ota
@pytest.mark.xfail(run=False)
@pytest.mark.nightly_run
def test_examples_protocol_simple_ota_example(dut: Dut) -> None:
"""
steps: |
@@ -233,9 +233,9 @@ def test_examples_protocol_simple_ota_example_with_flash_encryption(dut: Dut) ->
@pytest.mark.esp32c3
@pytest.mark.flash_encryption_wifi_ota
@pytest.mark.nightly_run
@pytest.mark.parametrize('config', ['flash_enc_wifi',], indirect=True)
@pytest.mark.parametrize('skip_autoflash', ['y'], indirect=True)
@pytest.mark.flaky(reruns=3, reruns_delay=5)
def test_examples_protocol_simple_ota_example_with_flash_encryption_wifi(dut: Dut) -> None:
"""
steps: |