When not running the tests, at least check the imports

This commit is contained in:
Miro Hrončok 2023-02-10 20:00:19 +01:00
parent 53b34627ad
commit 6b36dd46a4

View File

@ -114,8 +114,9 @@ echo '%{python3_sitelib}/packaging*' > %{pyproject_files}
%endif
%if %{with tests}
%check
%pyproject_check_import
%if %{with tests}
%pytest
%endif