CI: add example adc tests

This commit is contained in:
Chen Yudong
2022-12-21 12:07:35 +08:00
parent b5eebc490f
commit 9282446d9b
5 changed files with 196 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ from pytest_embedded.dut import Dut
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.esp32c3
@pytest.mark.adc
def test_adc_continuous(dut: Dut) -> None:
res = dut.expect(r'TASK: ret is 0, ret_num is (\d+)')
num = res.group(1).decode('utf8')