Add gating.yaml

Can be same for all rhel versions
Just an import test
This commit is contained in:
Lukáš Zachar 2025-09-26 11:22:08 +02:00 committed by Lumir Balhar
parent 36f74f2a00
commit c0aa0898a7
2 changed files with 11 additions and 17 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -2,22 +2,10 @@ execute:
how: tmt
discover:
- name: rpms_pyproject-rpm-macros
- name: same_repo
how: shell
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
tests:
- name: pyproject_entrypoints
path: /tests
test: ./mocktest.sh python-entrypoints
tests:
- name: import_test
test: python3.14 -c "import flit_core"
prepare:
- name: Install dependencies
how: install
package:
- mock
- python3.14
- python3.14-flit-core
- rpmdevtools
- rpm-build
test: python${pybasever} -c "import flit_core"
require:
- python${pybasever}-flit-core