47 lines
887 B
Plaintext
47 lines
887 B
Plaintext
execute:
|
|
how: tmt
|
|
|
|
|
|
discover:
|
|
- name: python
|
|
how: shell
|
|
url: https://gitlab.com/redhat/centos-stream/tests/python.git
|
|
tests:
|
|
- name: smoke39
|
|
path: /smoke
|
|
test: VERSION=3.9 ./venv.sh
|
|
- name: smoke39_virtualenv
|
|
path: /smoke
|
|
test: VERSION=3.9 METHOD=virtualenv ./venv.sh
|
|
|
|
- name: pyproject-rpm-macros
|
|
how: shell
|
|
url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git
|
|
ref: c9s
|
|
tests:
|
|
- name: pyproject_pytest
|
|
path: /tests
|
|
test: ./mocktest.sh python-pytest
|
|
- name: pyproject_pluggy
|
|
path: /tests
|
|
test: ./mocktest.sh python-pluggy
|
|
|
|
|
|
prepare:
|
|
- name: enable epel
|
|
how: feature
|
|
epel: enabled
|
|
|
|
- name: install packages
|
|
how: install
|
|
package:
|
|
- gcc
|
|
- virtualenv
|
|
- python3.9
|
|
- python3-devel
|
|
- tox
|
|
- mock
|
|
- rpmdevtools
|
|
- rpm-build
|
|
|