From dcb657dc86b420acb138dcaf540e54272ed5fba1 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 25 Apr 2023 13:05:56 -0400 Subject: [PATCH] Amend tmt specification --- gating.yaml | 5 +++-- plans/unit.fmf | 8 +++++++- python-dbus-python-client-gen.spec | 5 ++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gating.yaml b/gating.yaml index 282e16b..8f068c3 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,7 +1,8 @@ --- !Policy product_versions: - fedora-* -decision_context: bodhi_update_push_stable +decision_contexts: + - bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/unit.functional} diff --git a/plans/unit.fmf b/plans/unit.fmf index 4f3fac1..5dc00a2 100644 --- a/plans/unit.fmf +++ b/plans/unit.fmf @@ -1,6 +1,9 @@ summary: unit tests prepare: + - name: Install make + how: install + package: make - name: Install package how: install package: python-dbus-python-client-gen @@ -9,6 +12,9 @@ discover: how: shell url: https://github.com/stratis-storage/dbus-python-client-gen ref: v0.8.2 + tests: + - name: unit + test: make test execute: - script: make test + how: tmt diff --git a/python-dbus-python-client-gen.spec b/python-dbus-python-client-gen.spec index ca21261..0572a47 100644 --- a/python-dbus-python-client-gen.spec +++ b/python-dbus-python-client-gen.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.8.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python Library for Generating dbus-python Client Code License: MPL-2.0 @@ -42,6 +42,9 @@ Python 3 version. %{python3_sitelib}/dbus_python_client_gen-*.egg-info/ %changelog +* Tue Apr 25 2023 mulhern - 0.8.2-3 +- Amend tmt specification + * Tue Apr 25 2023 mulhern - 0.8.2-2 - Use tmt format testing specification