At least run an import check when built --without tests (e.g. in RHEL)
This commit is contained in:
parent
d9c9c5dd57
commit
44da404e85
1 changed files with 2 additions and 1 deletions
|
|
@ -85,8 +85,9 @@ sed -i 's/ --doctest-modules//' pyproject.toml
|
|||
%pyproject_save_files requests
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%pyproject_check_import
|
||||
%if %{with tests}
|
||||
%pytest -v
|
||||
%endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue