Add CI tests for pyproject-rpm-macros (moved from python-toml)

See https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/55
This commit is contained in:
Miro Hrončok 2020-06-24 17:09:44 +02:00
parent 3d8cb55c6e
commit a386ed825f

26
tests/tests.yml Normal file
View File

@ -0,0 +1,26 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
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
required_packages:
- mock
- rpmdevtools
- rpm-build