CI: add example adc tests

This commit is contained in:
Chen Yudong
2022-12-21 12:07:35 +08:00
parent c8e7ab7f17
commit a62e103109
5 changed files with 162 additions and 26 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')