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:
Lance Edgar 2024-07-13 15:16:45 -05:00
parent eede274529
commit d2d0206b45

View file

@ -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')