Fedora CI: Test pyproject-rpm-macros

pytest and pluggy use setuptools_scm
This commit is contained in:
Miro Hrončok 2020-04-20 12:33:09 +02:00
parent f85891207b
commit 2404bbb3db

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
- 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_pluggy:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy
required_packages:
- mock
- rpmdevtools
- rpm-build