From ceb72e0645af429ed17a1cc00c9fd2224b52c972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 10 Oct 2025 11:31:34 +0200 Subject: [PATCH] Add gating --- .fmf/version | 1 + gating.yaml | 6 ++++++ plan.fmf | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..ae420ce --- /dev/null +++ b/plan.fmf @@ -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