From e371bb808330f73198d36ecc17097d9791d3eff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Thu, 16 Jul 2026 16:13:46 +0200 Subject: [PATCH] Use osci for gating --- ci.fmf | 7 ------- gating.yaml | 4 +++- plan.fmf | 13 +++++++++++++ 3 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 ci.fmf create mode 100644 plan.fmf diff --git a/ci.fmf b/ci.fmf deleted file mode 100644 index 0b11f80..0000000 --- a/ci.fmf +++ /dev/null @@ -1,7 +0,0 @@ -summary: Tier1 tests -discover: - how: fmf - repository: git://pkgs.devel.redhat.com/tests/python-pygments - filter: 'tier:1' -execute: - how: tmt \ No newline at end of file diff --git a/gating.yaml b/gating.yaml index e08f3e5..d74bf08 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,8 @@ --- !Policy + product_versions: - rhel-8 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other.functional} \ No newline at end of file + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..fa438c6 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,13 @@ +discover: + how: shell + dist-git-source: true + tests: + - name: unit + test: | + cd $(dirname $TMT_SOURCE_DIR/Pygments-*/tests) + /usr/libexec/platform-python tests/run.py -d -v + require: + - python3-nose + +execute: + how: tmt