From 955ac909b4f022c3b8b098067392fbf4f151b832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Wed, 10 Jun 2026 17:54:13 +0200 Subject: [PATCH] Use osci and tmt to gate Runs unit tests as part of the gating --- .fmf/version | 1 + gating.yaml | 2 +- plan.fmf | 13 +++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .fmf/version 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 index 9e0ee4a..6985029 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,4 @@ product_versions: - rhel-8 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.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..ecd8163 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,13 @@ +execute: + how: tmt + +discover: + how: shell + dist-git-source: true + tests: + - name: / + test: cd $TMT_SOURCE_DIR/iniparse-0.4 && python3 runtests.py -v + require: + - python3-test + - python3-iniparse +