python-rpm-macros/plan.fmf
2026-08-12 10:11:48 +02:00

25 lines
466 B
Plaintext

execute:
how: tmt
discover:
how: shell
tests:
- name: pytest
test: PYTHONPATH=/usr/lib/rpm/redhat ALTERNATE_PYTHON_VERSION=SKIP pytest-3 -v
path: /tests
- name: manual_byte_compilation
test: rpmbuild -ba pythontest.spec
path: /tests
prepare:
- how: install
package:
- rpm-build
- python-rpm-macros
- python3-rpm-macros
- platform-python-devel
- python3-pytest
- dnf
- how: shell
script: dnf upgrade -y