Fedora CI: Run %pyproject macros integration tests

This commit is contained in:
Miro Hrončok 2020-03-06 11:40:32 +01:00
parent f994ff1cc7
commit abb97d98f6
1 changed files with 17 additions and 0 deletions

View File

@ -7,6 +7,8 @@
repositories:
- repo: "https://src.fedoraproject.org/tests/python.git"
dest: "python"
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests:
- smoke34:
dir: python/smoke
@ -43,6 +45,18 @@
run: VERSION=3.8 METHOD=virtualenv ./venv.sh
- pipenv:
run: pipenv --three && pipenv install six
- 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:
- gcc
- virtualenv
@ -56,3 +70,6 @@
- python3-devel
- python3-tox
- pipenv
- mock
- rpmdevtools
- rpm-build