From 6f2e58638472066f95f80cd4b5835992d8b6e80f Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Thu, 29 Jul 2021 11:10:49 -0400 Subject: [PATCH] Remove check test and add gating test Remove the check test from the spec file, and add a gating test. Resolves: rhbz#1986912 Signed-off-by: Bryan Gurney --- gating.yaml | 6 ++++++ python-justbases.spec | 10 +++++----- tests/tests.yml | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/python-justbases.spec b/python-justbases.spec index 0889f0c..08d7427 100644 --- a/python-justbases.spec +++ b/python-justbases.spec @@ -1,8 +1,7 @@ -%{?python_enable_dependency_generator} %global srcname justbases Name: python-%{srcname} Version: 0.15 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A small library for precise conversion between arbitrary bases License: LGPLv2+ @@ -36,9 +35,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 +42,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verb %{python3_sitelib}/justbases-%{version}-*.egg-info %changelog +* Thu Jul 29 2021 Bryan Gurney - 0.15-5 +- Remove check test +- Resolves: rhbz#1986912 + * Fri Apr 16 2021 Mohan Boddu - 0.15-4 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..7b4a58c --- /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 discover --verbose tests/test_deterministic