Add gating tests
This commit is contained in:
parent
39fd680193
commit
ccb4f1e3bd
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -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}
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.8
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Python Library for Generating dbus-python Client Code
|
||||
|
||||
License: MPLv2.0
|
||||
@ -21,8 +21,6 @@ Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-dbus
|
||||
BuildRequires: python3-into-dbus-python >= 0.08
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
@ -37,9 +35,6 @@ Python 3 version.
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verbose tests
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
@ -47,6 +42,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verb
|
||||
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Feb 26 2022 mulhern <amulhern@redhat.com> - 0.8-7
|
||||
- Add gating tests
|
||||
|
||||
* Tue Feb 15 2022 mulhern <amulhern@redhat.com> - 0.8-6
|
||||
- Remove redundant Requires
|
||||
|
||||
|
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user