fix docker failure

This commit is contained in:
xwings
2025-04-13 17:56:23 +08:00
parent 0cd1b2fcc5
commit 38313de6a8
+9 -5
View File
@@ -12,10 +12,9 @@ jobs:
#os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04]
os: [windows-latest, ubuntu-22.04]
python-version: ["3.9", "3.11"]
#include:
#- os: ubuntu-22.04
#python-version: 3.11
#container: Docker
include:
- os: ubuntu-22.04
container: Docker
steps:
- uses: actions/checkout@v3
@@ -73,7 +72,12 @@ jobs:
cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
cd ../../../../
pip3 install -e .
cd tests && ./test_onlinux.sh
pip3 install poetry
if [ ${{ matrix.contrainer }} != "" ]; then
docker run -it --rm -v ${GITHUB_WORKSPACE}:/qiling qilingframework/qiling:dev bash -c "cd tests && ./test_onlinux.sh"
else
cd tests && ./test_onlinux.sh
fi
# - name: mac run tests
# if: contains(matrix.os, 'macos')