Add gating test and remove check test
Resolves: rhbz#1988144 Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
6a49feba52
commit
ff62e76df2
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -1,10 +1,8 @@
|
||||
%bcond_without tests
|
||||
|
||||
%global pypi_name wcwidth
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.2.5
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Measures number of Terminal column cells of wide-character codes
|
||||
|
||||
License: MIT
|
||||
@ -21,9 +19,6 @@ printable width of a string on a Terminal.
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%if %{with tests}
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
@ -40,11 +35,6 @@ printable width of a string on a Terminal.
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%{__python3} -m pytest -v
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
@ -52,6 +42,10 @@ printable width of a string on a Terminal.
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%changelog
|
||||
* Mon Aug 01 2021 Bryan Gurney <bgurney@redhat.com> - 0.2.5-5
|
||||
- Remove check test
|
||||
- Resolves: rhbz#1988144
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.5-4
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
16
tests/tests.yml
Normal file
16
tests/tests.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- python3-pytest
|
||||
tests:
|
||||
- simple:
|
||||
dir: ./source
|
||||
run: python -m pytest -v
|
Loading…
Reference in New Issue
Block a user