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-wcwidth.spec b/python-wcwidth.spec index 0f25178..3b44110 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -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 - 0.2.5-5 +- Remove check test +- Resolves: rhbz#1988144 + * Fri Apr 16 2021 Mohan Boddu - 0.2.5-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..6ed8851 --- /dev/null +++ b/tests/tests.yml @@ -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