At least run an import check when built --without tests (e.g. in RHEL)

This commit is contained in:
Miro Hrončok 2023-06-07 00:45:23 +02:00
commit 44da404e85

View file

@ -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