Add gating

This commit is contained in:
Lukáš Zachar 2025-10-10 11:31:34 +02:00 committed by Lumir Balhar
parent 2cdad97582
commit 7fe0f84681
3 changed files with 27 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}

20
plan.fmf Normal file
View File

@ -0,0 +1,20 @@
execute:
how: tmt
provision:
hardware:
memory: '>= 4GB'
discover:
how: shell
tests:
- name: unit
test: |
pip-3.14 show hypothesis || pip-3.14 install hypothesis
# exit(0) is success
# ignored tests require meson which is missing now
python3.14 -c 'import numpy;import sys; sys.exit(not numpy.test(extra_argv=["--ignore-glob", "/usr/lib64/python3.14/site-packages/numpy/f2py/tests/*", "-k", "not test_mem_policy"]))'
require:
- python3.14-numpy
- python3.14-pytest
- python3.14-pip