From 5c035ea80ef1ffcdea6396c5fc49333fdd9f45a7 Mon Sep 17 00:00:00 2001 From: Rustam Ismayilov Date: Sun, 25 Aug 2024 16:17:42 +0200 Subject: [PATCH] imgtool: Install imgtool dependencies in zephyr-build Install imgtool dependencies before twister tests in zephyr-build to fix failing ci job due to ImportError, originating from missing new types added in cryptography library version 40.0.0. Signed-off-by: Rustam Ismayilov Change-Id: I1e4ca88a4a0329a198290f6e1917c139c30abc4f --- .github/workflows/zephyr_build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/zephyr_build.yaml b/.github/workflows/zephyr_build.yaml index d5f4b54fc..3559c50d7 100644 --- a/.github/workflows/zephyr_build.yaml +++ b/.github/workflows/zephyr_build.yaml @@ -91,6 +91,7 @@ jobs: export ZEPHYR_TOOLCHAIN_VARIANT=zephyr echo "Using Zephyr version: ${{ env.ZEPHYR_VERSION }}" echo "Using Mcuboot version: ${{ env.MCUBOOT_VERSION }}" + pip install -r ../bootloader/mcuboot/scripts/requirements.txt ./scripts/twister --inline-logs -v -N -M --integration --overflow-as-errors --retry-failed 2 ${test_paths} - name: Upload Tests Results