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-client-gen.spec b/python-dbus-client-gen.spec index f774966..fcfd6a6 100644 --- a/python-dbus-client-gen.spec +++ b/python-dbus-client-gen.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library for Generating D-Bus Client Code License: MPLv2.0 @@ -39,9 +39,6 @@ Python 3 version. %install %py3_install -%check -PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest --verbose tests/test_deterministic.py - %files -n python3-%{srcname} %license LICENSE %doc README.rst @@ -49,6 +46,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest --verbose tests %{python3_sitelib}/dbus_client_gen-*.egg-info/ %changelog +* Sat Feb 26 2022 mulhern - 0.5-7 +- Add gating tests + * Fri Jan 21 2022 Fedora Release Engineering - 0.5-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