55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
execute:
|
|
how: tmt
|
|
|
|
|
|
discover:
|
|
- name: same_repo
|
|
how: shell
|
|
tests:
|
|
- name: import_test
|
|
test: python3 -c "import setuptools"
|
|
require:
|
|
- python3-setuptools
|
|
|
|
|
|
- name: python
|
|
how: shell
|
|
url: https://gitlab.com/redhat/centos-stream/tests/python.git
|
|
tests:
|
|
- name: smoke312
|
|
path: /smoke
|
|
test: VERSION=3.12 ./venv.sh
|
|
- name: smoke312_virtualenv
|
|
path: /smoke
|
|
test: VERSION=3.12 METHOD=virtualenv ./venv.sh
|
|
|
|
- name: pyproject-rpm-macros
|
|
how: shell
|
|
url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git
|
|
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.12
|
|
- python3-devel
|
|
- tox
|
|
- mock
|
|
- rpmdevtools
|
|
- rpm-build
|
|
|