Dominique Leuenberger 2023-03-22 21:29:37 +00:00 committed by Git OBS Bridge
commit 0893f2733b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 21 13:30:49 UTC 2023 - Martin Liška <mliska@suse.cz>
- Run tests in parallel.
-------------------------------------------------------------------
Fri Mar 3 04:03:58 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -45,6 +45,7 @@ BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module build}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
@ -85,7 +86,7 @@ donttest="test_substitution_env"
donttest="$donttest or (test_version_file_count_commits and sha)"
# broken under Python 3.11
donttest="$donttest or test_substitution_timestamp"
%pytest -k "not ($donttest)"
%pytest -k "not ($donttest)" -n auto
%post
%python_install_alternative setuptools-git-versioning