CI: Don't treat DeprecationWarnings in setuptools_scm's %check as errors

This commit is contained in:
Miro Hrončok 2023-08-30 23:11:42 +02:00
parent a0c94e93cf
commit e7332c16ab

View File

@ -58,7 +58,7 @@ Summary: %{summary}
%check %check
# This tox should run all the toxenvs specified via -e in %%pyproject_buildrequires # This tox should run all the toxenvs specified via -e in %%pyproject_buildrequires
# We only run some of the tests (running all of them requires network connection and is slow) # We only run some of the tests (running all of them requires network connection and is slow)
%tox -- -- -k test_version | tee toxlog %tox -- -- -k test_version -Wdefault | tee toxlog
# Internal check for our macros: Assert both toxenvs were executed. # Internal check for our macros: Assert both toxenvs were executed.
grep -E 'py%{python3_version_nodots}-test: (OK|commands succeeded)' toxlog grep -E 'py%{python3_version_nodots}-test: (OK|commands succeeded)' toxlog