From e50ed310c4c16055f3e29735b4cfe8269e35a631 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 15 Feb 2022 21:08:39 -0500 Subject: [PATCH] Add gating tests --- gating.yaml | 7 +++++++ python-dbus-signature-pyparsing.spec | 5 ++++- tests/tests.yml | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..282e16b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/python-dbus-signature-pyparsing.spec b/python-dbus-signature-pyparsing.spec index 6acfce2..f0cb4cc 100644 --- a/python-dbus-signature-pyparsing.spec +++ b/python-dbus-signature-pyparsing.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.04 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Parser for a D-Bus Signature License: ASL 2.0 @@ -45,6 +45,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_d %{python3_sitelib}/dbus_signature_pyparsing-*.egg-info/ %changelog +* Tue Feb 15 2022 mulhern - 0.04-7 +- Add gating tests + * Fri Jan 21 2022 Fedora Release Engineering - 0.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0cc558c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,14 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: ./ + run: python -m unittest -v source/tests/test_deterministic.py