Skip to content

Commit 02b997b

Browse files
authored
Merge pull request #671 from espressif/petr/sd_card_pytest
Add pytest to the SD card example
2 parents 82f4381 + 20e096d commit 02b997b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build-run-applications.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
- "release-v5.5"
123123
runner:
124124
- example: "test_example_display"
125+
- example: "test_example_sdcard"
125126
- example: "test_example_lvgl_demos"
126127
- example: "test_example_generic_button_led"
127128
- example: "test_example_lvgl_benchmark"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
2+
# SPDX-License-Identifier: CC0-1.0
3+
4+
import pytest
5+
from pytest_embedded import Dut
6+
7+
8+
@pytest.mark.esp32_p4_function_ev_board
9+
@pytest.mark.esp32_s3_korvo_2
10+
def test_example_sdcard(dut: Dut) -> None:
11+
dut.expect_exact('example: Testing of SD card passed!')

0 commit comments

Comments
 (0)