build: run pytest
but avoid tox
when preparing release
buildbot can let us know if something goes wrong with an atypical python version etc.
This commit is contained in:
parent
eede274529
commit
d2d0206b45
2
tasks.py
2
tasks.py
|
@ -36,7 +36,7 @@ def release(c, skip_tests=False):
|
||||||
Release a new version of 'Tailbone'.
|
Release a new version of 'Tailbone'.
|
||||||
"""
|
"""
|
||||||
if not skip_tests:
|
if not skip_tests:
|
||||||
c.run('tox')
|
c.run('pytest')
|
||||||
|
|
||||||
if os.path.exists('dist'):
|
if os.path.exists('dist'):
|
||||||
shutil.rmtree('dist')
|
shutil.rmtree('dist')
|
||||||
|
|
Loading…
Reference in a new issue