Merge pull request #1560 from xwings/dev

fix docker failure
This commit is contained in:
xwings
2025-04-13 18:21:59 +08:00
committed by GitHub
+11 -6
View File
@@ -10,12 +10,12 @@ jobs:
fail-fast: false
matrix:
#os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04]
os: [windows-latest, ubuntu-22.04]
os: [windows-latest, ubuntu-latest]
python-version: ["3.9", "3.11"]
#include:
#- os: ubuntu-22.04
#python-version: 3.11
#container: Docker
include:
- os: ubuntu-latest
python-version: 3.9
container: Docker
steps:
- uses: actions/checkout@v3
@@ -73,7 +73,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')