Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/libvirtci.yml
Original file line number Diff line number Diff line change
@@ -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;
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ dist: bionic
language: python

python:
- "2.7"
- "3.7"

cache: pip
Expand All @@ -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