diff --git a/.github/workflows/libvirtci.yml b/.github/workflows/libvirtci.yml new file mode 100644 index 000000000..97c00cddb --- /dev/null +++ b/.github/workflows/libvirtci.yml @@ -0,0 +1,14 @@ +name: "libvirt ci testing" + +on: [pull_request] + +jobs: + build: + name: Build libvirt machine + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: running a shell script file + run: | + sudo apt install cpu-checker; + sudo kvm-ok; diff --git a/.travis.yml b/.travis.yml index 8721b55b0..02d234203 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ dist: bionic language: python python: - - "2.7" - "3.7" cache: pip @@ -20,5 +19,9 @@ install: script: - flake8 --exclude=\.eggs,tests,docs,config/Dockerfiles --ignore=E124,E303,W504 --max-line-length 80 . - $(which python) setup.py test -# - $(which python) $(which nosetests) -s linchpin/tests/* - - radon cc -s --min C linchpin + - egrep -c '(vmx|svm)' /proc/cpuinfo + - sudo apt install cpu-checker + - sudo kvm-ok + - sudo apt update + - sudo apt install qemu qemu-kvm libvirt-bin bridge-utils virt-manager + - sudo service libvirtd start