From 6d86d494f1f178c6fe00a819769379c7f5e3941a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Thu, 25 Sep 2025 17:18:19 +0200 Subject: [PATCH] Adjust gating Use generic gating.yaml Just an import test --- gating.yaml | 6 ++++++ plan.fmf | 32 +++++++++----------------------- 2 files changed, 15 insertions(+), 23 deletions(-) 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/plan.fmf b/plan.fmf index bba7193..8dd1b50 100644 --- a/plan.fmf +++ b/plan.fmf @@ -1,28 +1,14 @@ execute: how: tmt -discover: - - name: rpms_pyproject-rpm-macros - how: shell - url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git - tests: - - name: pyproject_pytest - path: /tests - test: ./mocktest.sh python3.14-pytest - - name: pyproject_pluggy - path: /tests - test: ./mocktest.sh python3.14-pluggy - - name: import_test - test: python3.14 -c "import setuptools_scm" +environment: + pybasever: '3.14' -prepare: - - name: Install dependencies - how: install - package: - - mock - - rpmdevtools - - rpm-build - - dnf - - name: Update packages +discover: + - name: local repo how: shell - script: dnf upgrade -y + tests: + - name: import_test + test: python${pybasever} -c "import setuptools_scm" + require: + - python${pybasever}-setuptools_scm