From 3e8767860ac4398e96693e23b118a30c8d4203dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 10 Oct 2025 14:57:59 +0200 Subject: [PATCH] Add gating --- gating.yaml | 6 ++++++ plans.fmf | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 gating.yaml 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/plans.fmf b/plans.fmf index 38b97bb..3845179 100644 --- a/plans.fmf +++ b/plans.fmf @@ -1,11 +1,21 @@ discover: - name: Smoke-tests how: shell + dist-git-source: true tests: - name: python-import-test test: python3.14 -c 'import pytest' require: - python3.14-pytest duration: 1m + - name: unit + test: | + cd $(dirname $TMT_SOURCE_DIR/pytest*/testing) + pip-3.14 install pygments>=2.7.2 hypothesis>=3.56 xmlschema + + pytest-3.14 testing/ -k 'not test_cmdline_python_namespace_package and not test_syspath_prepend_with_namespace_packages' + require: + - python3.14-pip + - python3.14-pytest execute: how: tmt