python-rpm-generators/tests/tests.yml

40 lines
805 B
YAML

---
- hosts: localhost
tags:
- classic
tasks:
- dnf:
name: "*"
state: latest
- hosts: localhost
pre_tasks:
- import_role:
name: standard-test-source
vars:
srcdir: "{{ tenv_workdir }}/tests/data/scripts_pythondistdeps/usr/"
flatten: True
roles:
- role: standard-test-basic
tags:
- classic
tests:
- pythonabi:
dir: .
run: ./pythonabi.sh
- pythonname:
dir: .
run: ./pythonname.sh
- pythondistdeps:
dir: ./tests
# Use update-test-sources.sh to update the test data
run: python3 -m pytest --capture=no -vvv
required_packages:
- rpm-build
- python3-devel
- python3-pip
- python3-pytest
- python3-pyyaml
- python3-setuptools
- python3-wheel