From 340a2e9297e5a360b28af26265b5e5528433bb23 Mon Sep 17 00:00:00 2001 From: "peter.marcisovsky" Date: Thu, 10 Oct 2024 18:51:41 +0200 Subject: [PATCH] ci(esp_tinyusb): Install libusb python --- .github/workflows/build_and_run_test_app_usb.yml | 2 +- .../test_apps/cdc_and_usb_device/pytest_usb_device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_run_test_app_usb.yml b/.github/workflows/build_and_run_test_app_usb.yml index 4d50b310..6229889b 100644 --- a/.github/workflows/build_and_run_test_app_usb.yml +++ b/.github/workflows/build_and_run_test_app_usb.yml @@ -65,6 +65,6 @@ jobs: - name: Install Python packages env: 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 pyusb + run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb libusb - name: Run USB Test App on target run: pytest --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }} diff --git a/device/esp_tinyusb/test_apps/cdc_and_usb_device/pytest_usb_device.py b/device/esp_tinyusb/test_apps/cdc_and_usb_device/pytest_usb_device.py index 36615137..5a1b440f 100644 --- a/device/esp_tinyusb/test_apps/cdc_and_usb_device/pytest_usb_device.py +++ b/device/esp_tinyusb/test_apps/cdc_and_usb_device/pytest_usb_device.py @@ -8,6 +8,6 @@ @pytest.mark.esp32s2 @pytest.mark.esp32s3 @pytest.mark.esp32p4 -#@pytest.mark.usb_device +@pytest.mark.usb_device def test_usb_device_esp_tinyusb(dut: IdfDut) -> None: dut.run_all_single_board_cases(group='usb_device')