Skip to content

ceph

ceph #319

name: CI on ubuntu-latest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: abbbi/github-actions-tune@v1
- name: Run codespell
run: |
sudo apt-get update
sudo apt-get install codespell -y
codespell README.md
codespell qmpbackup
codespell qmprestore
codespell libqmpbackup/
- name: Python code format test
run: |
sudo pip3 install black==24.10.0
black --check qmprestore
black --check qmpbackup
black --check .
- name: Install QEMU
run: |
sudo apt-get update
sudo apt-get install -y qemu-system-x86 libguestfs-tools
- name: Install qmpbackup and requirements
run: |
sudo pip3 install -r requirements.txt
sudo python3 setup.py install
- name: Execute testscript
run: cd t && sudo sh runtest
- name: Execute
run: |
qmpbackup -h
qmprestore -h