Skip to content

Commit 015b389

Browse files
authored
Merge pull request #1560 from xwings/dev
fix docker failure
2 parents 0cd1b2f + d425f8f commit 015b389

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/build-ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
#os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04]
13-
os: [windows-latest, ubuntu-22.04]
13+
os: [windows-latest, ubuntu-latest]
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-latest
17+
python-version: 3.9
18+
container: Docker
1919

2020
steps:
2121
- uses: actions/checkout@v3
@@ -73,7 +73,12 @@ jobs:
7373
cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
7474
cd ../../../../
7575
pip3 install -e .
76-
cd tests && ./test_onlinux.sh
76+
pip3 install poetry
77+
if [ ${{ matrix.contrainer }} != "" ]; then
78+
docker run -it --rm -v ${GITHUB_WORKSPACE}:/qiling qilingframework/qiling:dev bash -c "cd tests && ./test_onlinux.sh"
79+
else
80+
cd tests && ./test_onlinux.sh
81+
fi
7782
7883
# - name: mac run tests
7984
# if: contains(matrix.os, 'macos')

0 commit comments

Comments
 (0)