Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try libvirt ci #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
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