forked from pool/python-pytest-codspeed
- Add ExclusiveArch x86_64 and aarch64 (unfortunately the code
itself checks for the architecture, so we cannot go with ExcludeArch) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-codspeed?expand=0&rev=5
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
Thu Jan 30 06:27:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Make tests work (and also add the patch make_tests_work.patch)
|
||||
- Add ExclusiveArch x86_64 and aarch64 (unfortunately the code
|
||||
itself checks for the architecture, so we cannot go with
|
||||
ExcludeArch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 18:48:11 UTC 2025 - marec <marec@detebe.org>
|
||||
|
||||
@@ -31,6 +31,7 @@ Release: 0
|
||||
Summary: A pytest plugin to create CodSpeed benchmarks
|
||||
License: MIT
|
||||
URL: https://github.com/CodSpeedHQ/pytest-codspeed
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest_codspeed/pytest_codspeed-%{version}.tar.gz
|
||||
# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
@@ -74,6 +75,7 @@ export PYTEST_CODSPEED_FORCE_EXTENSION_BUILD=1
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
export PYTEST_CODSPEED_FORCE_VALGRIND_TESTS=1
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user