Skip to content

Commit f29f928

Browse files
authored
Merge pull request #8648 from julek-wolfssl/hostap-tests
hostap-vm.yml: Fix `No module named 'Crypto'` errors that were causing tests to be skipped
2 parents a221b51 + c0f27e7 commit f29f928

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/hostap-vm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ jobs:
217217
sudo apt-get install -y libpcap0.8 libpcap-dev curl libcurl4-openssl-dev \
218218
libnl-3-dev binutils-dev libssl-dev libiberty-dev libnl-genl-3-dev \
219219
libnl-route-3-dev libdbus-1-dev bridge-utils tshark python3-pycryptodome
220+
sudo pip install pycryptodome
220221
221222
- name: Checking if we have hostap in cache
222223
uses: actions/cache/restore@v4
@@ -312,6 +313,7 @@ jobs:
312313
KERNELDIR=$GITHUB_WORKSPACE/linux
313314
KVMARGS="-cpu host"
314315
EOF
316+
git config --global --add safe.directory $GITHUB_WORKSPACE/hostap
315317
# Run tests in increments of 200 to not stall out the parallel-vm script
316318
while mapfile -t -n 200 ary && ((${#ary[@]})); do
317319
TESTS=$(printf '%s\n' "${ary[@]}" | tr '\n' ' ')

0 commit comments

Comments
 (0)