Skip to content

Commit

Permalink
add libvirt ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samvarankashyap committed Mar 18, 2020
1 parent 9768314 commit 280442e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
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

0 comments on commit 280442e

Please sign in to comment.