Don't lint the code or measure coverage in %check
Linters and test coverage makes sense in upstream CI, but not that much in Fedora. This makes testing rpmlint with newer Python releases easier. It also partially unblocks the Python 3.10 rebuild.
This commit is contained in:
parent
ef464bc81e
commit
a5cb936436
@ -25,8 +25,6 @@ Requires: /usr/bin/appstream-util
|
||||
# tests
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
BuildRequires: %{py3_dist pytest-cov}
|
||||
BuildRequires: %{py3_dist pytest-flake8}
|
||||
BuildRequires: %{py3_dist pytest-xdist}
|
||||
BuildRequires: %{py3_dist pyenchant}
|
||||
BuildRequires: %{py3_dist file-magic}
|
||||
@ -39,6 +37,8 @@ and source packages as well as spec files can be checked.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
# Don't lint the code or measure coverage in %%check
|
||||
sed -i -e 's/ --cov=rpmlint//' -e 's/ --flake8//' setup.cfg
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
Loading…
Reference in New Issue
Block a user