Add gating

This commit is contained in:
Lukáš Zachar 2025-10-07 16:15:12 +02:00 committed by Lumir Balhar
parent dd8737779a
commit b523456450
3 changed files with 26 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

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}

19
plan.fmf Normal file
View File

@ -0,0 +1,19 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
# we need this in rpmbuild phase, which is before requires are installed
dist-git-require:
- python3.14
tests:
- name: bundled tests
require:
- python3.14-pycparser
- gcc
test: |
cd $(dirname $TMT_SOURCE_DIR/pycparser-*/tests) &&
rm -rf pycparser &&
python3.14 -m unittest -v