forked from pool/python-pylint
Accepting request 1090184 from home:bnavigator:branches:devel:languages:python
- Update test setup: rerun flaky pyreverse tests OBS-URL: https://build.opensuse.org/request/show/1090184 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=148
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 07:23:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update test setup: rerun flaky pyreverse tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 8 15:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon May 8 15:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -59,7 +59,7 @@ BuildRequires: %{python_module typing-extensions >= 3.10}
|
|||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION test deps
|
# SECTION test deps
|
||||||
BuildRequires: %{python_module GitPython > 3}
|
BuildRequires: %{python_module GitPython > 3}
|
||||||
BuildRequires: %{python_module pytest-benchmark}
|
BuildRequires: %{python_module pytest-rerunfailures}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -106,7 +106,8 @@ done
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
%pytest %{?jobs:-n %jobs} --benchmark-disable -k "not test_linter_with_unpickleable_plugins_is_pickleable"
|
# reruns: tests/pyreverse is incredibly non-deterministic in failures
|
||||||
|
%pytest -n auto --ignore tests/benchmark --reruns 5 -rsfER -k "not test_linter_with_unpickleable_plugins_is_pickleable"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user