Add gating tests

This commit is contained in:
mulhern 2022-02-27 10:39:45 -05:00
parent b5c364bb78
commit 7c07bd865f
3 changed files with 25 additions and 4 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 @@
%global srcname justbases
Name: python-%{srcname}
Version: 0.15
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A small library for precise conversion between arbitrary bases
License: LGPLv2+
@ -36,9 +36,6 @@ rm -rf justbases.egg-info
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verbose tests/test_deterministic
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
@ -46,6 +43,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verb
%{python3_sitelib}/justbases-%{version}-*.egg-info
%changelog
* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 0.15-7
- Add gating tests
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-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 discover --verbose source/tests/test_deterministic