Add gating tests
This commit is contained in:
parent
b66b199fe0
commit
40d438d8a1
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.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 <amulhern@redhat.com> - 0.5-7
|
||||
- Add gating tests
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
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