Convert gating to tmt
This commit is contained in:
parent
422fdc45f4
commit
f19dac3788
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
54
plan.fmf
Normal file
54
plan.fmf
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
repositories:
|
|
||||||
- repo: "https://gitlab.com/redhat/centos-stream/tests/python.git"
|
|
||||||
dest: "python"
|
|
||||||
- repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git"
|
|
||||||
dest: "pyproject-rpm-macros"
|
|
||||||
tests:
|
|
||||||
- smoke312:
|
|
||||||
dir: python/smoke
|
|
||||||
run: VERSION=3.12 ./venv.sh
|
|
||||||
- smoke312_virtualenv:
|
|
||||||
dir: python/smoke
|
|
||||||
run: VERSION=3.12 METHOD=virtualenv ./venv.sh
|
|
||||||
- pyproject_pytest:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-pytest
|
|
||||||
- pyproject_pluggy:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-pluggy
|
|
||||||
- import_test:
|
|
||||||
run: python3 -c "import setuptools"
|
|
||||||
required_packages:
|
|
||||||
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
|
|
||||||
- gcc
|
|
||||||
- virtualenv
|
|
||||||
- python3.12
|
|
||||||
- python3-devel
|
|
||||||
- tox
|
|
||||||
- mock
|
|
||||||
- rpmdevtools
|
|
||||||
- rpm-build
|
|
||||||
Loading…
Reference in New Issue
Block a user