From d924bed00ee87930e8ac54fd8426fa8dbd063ff5 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 8 Sep 2022 17:17:02 +0200 Subject: [PATCH] ci: use dl.espressif.com/pypi for wheels, install cryptography wheel --- .github/workflows/build_and_run_test_app.yml | 4 ++-- .github/workflows/build_and_run_test_app_usb.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_run_test_app.yml b/.github/workflows/build_and_run_test_app.yml index d68666a..d89a0cb 100644 --- a/.github/workflows/build_and_run_test_app.yml +++ b/.github/workflows/build_and_run_test_app.yml @@ -88,8 +88,8 @@ jobs: path: test_app/build - name: Install Python packages env: - PIP_EXTRA_INDEX_URL: "https://www.piwheels.org/simple" - run: pip install pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf + PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/" + run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf - name: Run Test App on target working-directory: test_app run: pytest --junit-xml=./test_app_results_${{ matrix.idf_target }}_${{ matrix.idf_ver }}.xml --target=${{ matrix.idf_target }} diff --git a/.github/workflows/build_and_run_test_app_usb.yml b/.github/workflows/build_and_run_test_app_usb.yml index 57b11a1..838558f 100644 --- a/.github/workflows/build_and_run_test_app_usb.yml +++ b/.github/workflows/build_and_run_test_app_usb.yml @@ -63,8 +63,8 @@ jobs: path: usb/test_app/build - name: Install Python packages env: - PIP_EXTRA_INDEX_URL: "https://www.piwheels.org/simple" - run: pip install pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf + PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/" + run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf - name: Run USB Test App on target working-directory: usb/test_app run: pytest --target=${{ matrix.idf_target }}