From f016a8fcaf06545fcec4d557ab9c1682e711be3d Mon Sep 17 00:00:00 2001 From: Peter Marcisovsky Date: Tue, 23 Jan 2024 10:47:12 +0100 Subject: [PATCH] ci: add marker --- .github/workflows/build_and_run_test_app_usb.yml | 2 +- pytest.ini | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_run_test_app_usb.yml b/.github/workflows/build_and_run_test_app_usb.yml index 692133d3..ca7e598d 100644 --- a/.github/workflows/build_and_run_test_app_usb.yml +++ b/.github/workflows/build_and_run_test_app_usb.yml @@ -62,4 +62,4 @@ jobs: PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/" run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial - name: Run USB Test App on target - run: pytest --target=${{ matrix.idf_target }} --build-dir=build_${{ matrix.idf_target }} \ No newline at end of file + run: pytest --target=${{ matrix.idf_target }} -m usb_host --build-dir=build_${{ matrix.idf_target }} \ No newline at end of file diff --git a/pytest.ini b/pytest.ini index 2cdf30fb..e95d52a4 100644 --- a/pytest.ini +++ b/pytest.ini @@ -10,18 +10,14 @@ addopts = markers = # target markers - esp32: support esp32 target esp32s2: support esp32s2 target esp32s3: support esp32s3 target - esp32c3: support esp32c3 target - esp32c2: support esp32c2 target - supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2') + supported_targets: support all supported targets ('esp32s2', 'esp32s3') # env markers generic: generic runner usb_host: usb host runners usb_device: usb device runners - ethernet: ethernet runners # log related log_cli = True