Run tests during build
Previously, the %check section did nothing: + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. ... ---------------------------------------------------------------------- Ran 0 tests in 0.000s
This commit is contained in:
parent
462119598c
commit
5209c11014
|
@ -65,8 +65,7 @@ rm -rf html/.{doctrees,buildinfo}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export k='not test_argument_ranges'
|
%pytest
|
||||||
%{__python3} setup.py test
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
|
@ -83,6 +82,7 @@ export k='not test_argument_ranges'
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 27 2021 Miro Hrončok <mhroncok@redhat.com> - 20.1.0-5
|
* Wed Jan 27 2021 Miro Hrončok <mhroncok@redhat.com> - 20.1.0-5
|
||||||
- Stop requiring test dependencies on runtime
|
- Stop requiring test dependencies on runtime
|
||||||
|
- Run tests during build
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-4
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue