From 1a1cbaa65a7dd9d713f41e9d2987b604465a4a2a Mon Sep 17 00:00:00 2001 From: mulhern Date: Fri, 25 Feb 2022 22:21:07 -0500 Subject: [PATCH] Add gating tests --- gating.yaml | 7 +++++++ python-into-dbus-python.spec | 8 +++----- tests/tests.yml | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) 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-into-dbus-python.spec b/python-into-dbus-python.spec index afc4d6b..72a2347 100644 --- a/python-into-dbus-python.spec +++ b/python-into-dbus-python.spec @@ -23,8 +23,6 @@ Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-dbus-signature-pyparsing -BuildRequires: python3-dbus %description -n python3-%{srcname} %{_description} @@ -40,9 +38,6 @@ Python 3 version. %install %py3_install -%check -PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_deterministic.py - %files -n python3-%{srcname} %license LICENSE %doc README.rst @@ -50,6 +45,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_d %{python3_sitelib}/into_dbus_python-*.egg-info/ %changelog +* Fri Feb 25 2022 mulhern - 0.08.6 +- Add gating tests + * Fri Jan 21 2022 Fedora Release Engineering - 0.08-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