Skip to content

Commit

Permalink
imgtool: Install imgtool dependencies in zephyr-build
Browse files Browse the repository at this point in the history
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 <rustam.ismayilov@arm.com>
Change-Id: I1e4ca88a4a0329a198290f6e1917c139c30abc4f
  • Loading branch information
rustammendel committed Oct 10, 2024
1 parent adfab38 commit 4701933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/zephyr_build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2022-2023 Nordic Semiconductor ASA
# Copyright (c) 2024, Arm Limited
# SPDX-License-Identifier: Apache-2.0

name: Build Zephyr samples with Twister
Expand Down Expand Up @@ -91,6 +92,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
Expand Down

0 comments on commit 4701933

Please sign in to comment.