Add gating tests

This commit is contained in:
mulhern 2022-02-15 21:08:39 -05:00
parent 07fd6e8b53
commit e50ed310c4
3 changed files with 25 additions and 1 deletions

7
gating.yaml Normal file
View 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}

View File

@ -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 <amulhern@redhat.com> - 0.04-7
- Add gating tests
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

14
tests/tests.yml Normal file
View 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