Skip to content

Install and prepare ansible for Ansible AutoMatus variant #41

Install and prepare ansible for Ansible AutoMatus variant

Install and prepare ansible for Ansible AutoMatus variant #41

Workflow file for this run

name: Sanity self-tests
on:
pull_request:
jobs:
waivers-syntax-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Contest deps
run: sudo apt-get install -y python3-rpm
- name: Collect waivers
run: |
python3 <<'EOF'
import sys
from lib import waive
try:
list(waive.collect_waivers())
sys.exit(0)
except waive.WaiveParseError as e:
print(str(e))
sys.exit(1)
EOF
flake8:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install flake8
run: python3 -m pip install flake8
- name: Run flake8
run: flake8 -v
tmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tmt
run: python3 -m pip install tmt
- name: Run tmt lint
run: tmt lint --failed-only
- name: Run basic tmt run discover
run: tmt run -v plans -n /plans/default discover -h fmf