2
0
Fork 0

Add flag to skip tests when pushing a release

hopefully this doesn't get used much, but currently am having a major
headache when running python 3.7 tests via tox.  probably should just
drop support for that one ASAP..
This commit is contained in:
Lance Edgar 2023-11-20 21:44:00 -06:00
parent 38e0eca4bc
commit 1545269ae4

View file

@ -14,11 +14,12 @@ exec(open(os.path.join(here, 'src', 'wuttjamaican', '_version.py')).read())
@task
def release(c):
def release(c, skip_tests=False):
"""
Release a new version of WuttJamaican
"""
c.run('tox')
if not skip_tests:
c.run('tox')
# rebuild local tar.gz file for distribution
if os.path.exists('WuttJamaican.egg-info'):