Run unit tests of Python RPM generators in CI
This commit is contained in:
parent
239094cefe
commit
7a83b85259
@ -7,6 +7,8 @@
|
||||
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
|
||||
@ -20,7 +22,16 @@
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user