python-rpm-generators/tests/tests.yml

48 lines
862 B
YAML
Raw Permalink Normal View History

2020-04-03 12:00:49 +00:00
---
- hosts: localhost
tags:
- classic
tasks:
- dnf:
name: "*"
state: latest
- hosts: localhost
tags:
- classic
pre_tasks:
- import_role:
name: standard-test-source
vars:
fetch_only: True
2020-04-03 12:00:49 +00:00
roles:
- role: standard-test-basic
tests:
- rpm_qa:
dir: .
run: rpm -qa | sort
2020-04-03 12:00:49 +00:00
- pythonabi:
dir: .
run: ./pythonabi.sh
- pythonname:
dir: .
run: ./pythonname.sh
- pythondist:
dir: .
run: ./pythondist.sh
- console_script:
dir: .
run: ./console_script.sh
- pytest:
dir: .
run: ./download_data_and_run_pytest.sh
2020-04-03 12:00:49 +00:00
required_packages:
- rpm-build
- rpmdevtools
2020-04-03 12:00:49 +00:00
- python3-devel
- python3-pip
- python3-pytest
- python3-pyyaml
- python3-setuptools
- python3-wheel