Run unit tests of Python RPM generators in CI
This commit is contained in:
parent
239094cefe
commit
7a83b85259
@ -7,6 +7,8 @@
|
|||||||
repositories:
|
repositories:
|
||||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||||
dest: "pyproject-rpm-macros"
|
dest: "pyproject-rpm-macros"
|
||||||
|
- repo: "https://src.fedoraproject.org/rpms/python-rpm-generators.git"
|
||||||
|
dest: "python-rpm-generators"
|
||||||
tests:
|
tests:
|
||||||
- pyproject_pytest:
|
- pyproject_pytest:
|
||||||
dir: pyproject-rpm-macros/tests
|
dir: pyproject-rpm-macros/tests
|
||||||
@ -20,7 +22,16 @@
|
|||||||
- pyproject_clikit:
|
- pyproject_clikit:
|
||||||
dir: pyproject-rpm-macros/tests
|
dir: pyproject-rpm-macros/tests
|
||||||
run: ./mocktest.sh python-clikit
|
run: ./mocktest.sh python-clikit
|
||||||
|
- rpm_generators_unit_tests:
|
||||||
|
dir: python-rpm-generators
|
||||||
|
run: ./tests/download_data_and_run_pytest.sh
|
||||||
required_packages:
|
required_packages:
|
||||||
|
- fedpkg-minimal
|
||||||
- mock
|
- mock
|
||||||
|
- python3-pip
|
||||||
|
- python3-pytest
|
||||||
|
- python3-pyyaml
|
||||||
|
- python3-setuptools
|
||||||
|
- python3-wheel
|
||||||
- rpmdevtools
|
- rpmdevtools
|
||||||
- rpm-build
|
- rpm-build
|
||||||
|
Loading…
Reference in New Issue
Block a user