Adjust gating
- Generic gating.yaml for all rhel - Use CS repos instead of Fedora - Remove python versions not available on c9s - use python-isort to test
This commit is contained in:
parent
a9a7f55f55
commit
878eaa41aa
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
31
plan.fmf
31
plan.fmf
@ -4,14 +4,12 @@ execute:
|
|||||||
discover:
|
discover:
|
||||||
- name: rpms_pyproject-rpm-macros
|
- name: rpms_pyproject-rpm-macros
|
||||||
how: shell
|
how: shell
|
||||||
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git
|
||||||
|
ref: c9s
|
||||||
tests:
|
tests:
|
||||||
- name: pyproject_pytest
|
- name: pyproject_isort
|
||||||
path: /tests
|
path: /tests
|
||||||
test: ./mocktest.sh python-pytest
|
test: ./mocktest.sh python-isort
|
||||||
- name: pyproject_pluggy
|
|
||||||
path: /tests
|
|
||||||
test: ./mocktest.sh python-pluggy
|
|
||||||
- name: same_repo
|
- name: same_repo
|
||||||
how: shell
|
how: shell
|
||||||
dist-git-source: true
|
dist-git-source: true
|
||||||
@ -26,29 +24,14 @@ discover:
|
|||||||
$TMT_TREE/../discover/rpms_pyproject-rpm-macros/tests/tests/mocktest.sh python-setuptools --with bootstrap
|
$TMT_TREE/../discover/rpms_pyproject-rpm-macros/tests/tests/mocktest.sh python-setuptools --with bootstrap
|
||||||
- name: tests_python
|
- name: tests_python
|
||||||
how: shell
|
how: shell
|
||||||
url: https://src.fedoraproject.org/tests/python.git
|
url: https://gitlab.com/redhat/centos-stream/tests/python.git
|
||||||
tests:
|
tests:
|
||||||
- name: smoke36
|
|
||||||
path: /smoke
|
|
||||||
test: VERSION=3.6 TOX=false ./venv.sh
|
|
||||||
- name: smoke39
|
- name: smoke39
|
||||||
path: /smoke
|
path: /smoke
|
||||||
test: VERSION=3.9 ./venv.sh
|
test: VERSION=3.9 ./venv.sh
|
||||||
- name: smoke310
|
|
||||||
path: /smoke
|
|
||||||
test: VERSION=3.10 ./venv.sh
|
|
||||||
- name: smoke311
|
|
||||||
path: /smoke
|
|
||||||
test: VERSION=3.11 ./venv.sh
|
|
||||||
- name: smoke39_virtualenv
|
- name: smoke39_virtualenv
|
||||||
path: /smoke
|
path: /smoke
|
||||||
test: VERSION=3.9 METHOD=virtualenv ./venv.sh
|
test: VERSION=3.9 METHOD=virtualenv ./venv.sh
|
||||||
- name: smoke310_virtualenv
|
|
||||||
path: /smoke
|
|
||||||
test: VERSION=3.10 METHOD=virtualenv ./venv.sh
|
|
||||||
- name: smoke311_virtualenv
|
|
||||||
path: /smoke
|
|
||||||
test: VERSION=3.11 METHOD=virtualenv ./venv.sh
|
|
||||||
- name: smoke312_virtualenv
|
- name: smoke312_virtualenv
|
||||||
path: /smoke
|
path: /smoke
|
||||||
test: VERSION=3.12 METHOD=virtualenv VIRTUALENV_SETUPTOOLS=bundle ./venv.sh
|
test: VERSION=3.12 METHOD=virtualenv VIRTUALENV_SETUPTOOLS=bundle ./venv.sh
|
||||||
@ -65,12 +48,8 @@ prepare:
|
|||||||
package:
|
package:
|
||||||
- gcc
|
- gcc
|
||||||
- virtualenv
|
- virtualenv
|
||||||
- python3.6
|
|
||||||
- python3.9
|
- python3.9
|
||||||
- python3.10-devel
|
|
||||||
- python3.11-devel
|
|
||||||
- python3.12-devel
|
- python3.12-devel
|
||||||
- python3.13-devel
|
|
||||||
- python3.14-devel
|
- python3.14-devel
|
||||||
- python3-devel
|
- python3-devel
|
||||||
- python3-tox
|
- python3-tox
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user