forked from wolfSSL/wolfssl
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
This commit is contained in:
2
.github/workflows/hostap-vm.yml
vendored
2
.github/workflows/hostap-vm.yml
vendored
@@ -217,6 +217,7 @@ jobs:
|
|||||||
sudo apt-get install -y libpcap0.8 libpcap-dev curl libcurl4-openssl-dev \
|
sudo apt-get install -y libpcap0.8 libpcap-dev curl libcurl4-openssl-dev \
|
||||||
libnl-3-dev binutils-dev libssl-dev libiberty-dev libnl-genl-3-dev \
|
libnl-3-dev binutils-dev libssl-dev libiberty-dev libnl-genl-3-dev \
|
||||||
libnl-route-3-dev libdbus-1-dev bridge-utils tshark python3-pycryptodome
|
libnl-route-3-dev libdbus-1-dev bridge-utils tshark python3-pycryptodome
|
||||||
|
sudo pip install pycryptodome
|
||||||
|
|
||||||
- name: Checking if we have hostap in cache
|
- name: Checking if we have hostap in cache
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
@@ -312,6 +313,7 @@ jobs:
|
|||||||
KERNELDIR=$GITHUB_WORKSPACE/linux
|
KERNELDIR=$GITHUB_WORKSPACE/linux
|
||||||
KVMARGS="-cpu host"
|
KVMARGS="-cpu host"
|
||||||
EOF
|
EOF
|
||||||
|
git config --global --add safe.directory $GITHUB_WORKSPACE/hostap
|
||||||
# Run tests in increments of 200 to not stall out the parallel-vm script
|
# Run tests in increments of 200 to not stall out the parallel-vm script
|
||||||
while mapfile -t -n 200 ary && ((${#ary[@]})); do
|
while mapfile -t -n 200 ary && ((${#ary[@]})); do
|
||||||
TESTS=$(printf '%s\n' "${ary[@]}" | tr '\n' ' ')
|
TESTS=$(printf '%s\n' "${ary[@]}" | tr '\n' ' ')
|
||||||
|
Reference in New Issue
Block a user