Adjust gating

Use generic gating.yaml

Just an import test
This commit is contained in:
Lukáš Zachar 2025-09-25 17:18:19 +02:00 committed by Lumir Balhar
parent 8c9fb85ae2
commit 6d86d494f1
2 changed files with 15 additions and 23 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

@ -1,28 +1,14 @@
execute:
how: tmt
discover:
- name: rpms_pyproject-rpm-macros
how: shell
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
tests:
- name: pyproject_pytest
path: /tests
test: ./mocktest.sh python3.14-pytest
- name: pyproject_pluggy
path: /tests
test: ./mocktest.sh python3.14-pluggy
- name: import_test
test: python3.14 -c "import setuptools_scm"
environment:
pybasever: '3.14'
prepare:
- name: Install dependencies
how: install
package:
- mock
- rpmdevtools
- rpm-build
- dnf
- name: Update packages
discover:
- name: local repo
how: shell
script: dnf upgrade -y
tests:
- name: import_test
test: python${pybasever} -c "import setuptools_scm"
require:
- python${pybasever}-setuptools_scm