python-packaging/tests/tests.yml
2023-04-19 20:22:48 +02:00

38 lines
1.1 KiB
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
- repo: "https://src.fedoraproject.org/rpms/python-rpm-generators.git"
dest: "python-rpm-generators"
tests:
- pyproject_pytest:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pytest
- pyproject_entrypoints:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-entrypoints
- pyproject_pluggy:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy
- pyproject_clikit:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-clikit
- rpm_generators_unit_tests:
dir: python-rpm-generators
run: ./tests/download_data_and_run_pytest.sh
required_packages:
- fedpkg-minimal
- mock
- python3-pip
- python3-pytest
- python3-pyyaml
- python3-setuptools
- python3-wheel
- rpmdevtools
- rpm-build