Skip to content

Commit 3f663ec

Browse files
committed
ci(sdmmc): add test config for p4
1 parent ad6cce5 commit 3f663ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
22
# SPDX-License-Identifier: CC0-1.0
3-
43
import pytest
54
from pytest_embedded_idf import IdfDut
65

76

87
@pytest.mark.esp32
98
@pytest.mark.esp32s3
9+
@pytest.mark.esp32p4
10+
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='lack of runners, IDF-8970')
1011
@pytest.mark.sdcard
1112
def test_sdmmc(dut: IdfDut) -> None:
12-
dut.run_all_single_board_cases()
13+
# SDMMC driver can't be reinitialized if the test fails,
14+
# so we need to reset the board between tests to avoid failing
15+
# all the tests after the first one fails.
16+
dut.run_all_single_board_cases(reset=True)

0 commit comments

Comments
 (0)