From ab9defffb750c5a4039559b9b9e1b1411c6db34e Mon Sep 17 00:00:00 2001 From: "peter.marcisovsky" Date: Wed, 30 Oct 2024 18:19:08 +0100 Subject: [PATCH] install python venv --- .github/workflows/build_and_run_test_app_usb.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_run_test_app_usb.yml b/.github/workflows/build_and_run_test_app_usb.yml index 1f0f2ac..eb2d971 100644 --- a/.github/workflows/build_and_run_test_app_usb.yml +++ b/.github/workflows/build_and_run_test_app_usb.yml @@ -72,6 +72,8 @@ jobs: name: usb_test_app_bin_${{ matrix.idf_ver }} - name: Create venv run: | + python -V + sudo apt-get install python3-venv pip list mkdir ci_venv && cd ci_venv python3 -m venv env @@ -84,7 +86,7 @@ jobs: env: PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/" run: | - sudo apt-get update && apt-get install libusb-1.0-0-dev -y + sudo apt-get update && sudo apt-get install libusb-1.0-0-dev -y pip list pip install --prefer-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb libusb - name: Run USB Test App on target