diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index d20b03754..b8a5d3cbd 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -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')