Simplify the %check section, we cannot reasonably test without tox installed

This commit is contained in:
Miro Hrončok 2020-07-09 12:05:00 +02:00
commit b0cb698c46
2 changed files with 22 additions and 31 deletions

View file

@ -26,7 +26,7 @@
tests:
- rpmbuild:
dir: .
run: "dnf -y build-dep --define '_with_internet 1' {{ tenv_workdir }}/python-tox.spec && rpmbuild --define '_sourcedir {{ tenv_workdir }}' --with internet -ba {{ tenv_workdir }}/python-tox.spec"
run: "dnf -y build-dep --define '_with_tests 1' {{ tenv_workdir }}/python-tox.spec && rpmbuild --define '_sourcedir {{ tenv_workdir }}' --with tests -ba {{ tenv_workdir }}/python-tox.spec"
- smoke27:
dir: python/smoke
run: VERSION=2.7 METHOD=virtualenv ./venv.sh