25 lines
466 B
Plaintext
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
|