Skip to content

Commit 38313de

Browse files
committed
fix docker failure
1 parent 0cd1b2f commit 38313de

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build-ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ jobs:
1212
#os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04]
1313
os: [windows-latest, ubuntu-22.04]
1414
python-version: ["3.9", "3.11"]
15-
#include:
16-
#- os: ubuntu-22.04
17-
#python-version: 3.11
18-
#container: Docker
15+
include:
16+
- os: ubuntu-22.04
17+
container: Docker
1918

2019
steps:
2120
- uses: actions/checkout@v3
@@ -73,7 +72,12 @@ jobs:
7372
cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
7473
cd ../../../../
7574
pip3 install -e .
76-
cd tests && ./test_onlinux.sh
75+
pip3 install poetry
76+
if [ ${{ matrix.contrainer }} != "" ]; then
77+
docker run -it --rm -v ${GITHUB_WORKSPACE}:/qiling qilingframework/qiling:dev bash -c "cd tests && ./test_onlinux.sh"
78+
else
79+
cd tests && ./test_onlinux.sh
80+
fi
7781
7882
# - name: mac run tests
7983
# if: contains(matrix.os, 'macos')

0 commit comments

Comments
 (0)