Add management tasks

This commit is contained in:
Gabriel Augendre 2021-11-20 13:03:49 +01:00
parent d3c3bd050c
commit 08c710b178

View file

@ -15,3 +15,15 @@ def test(ctx):
def test_cov(ctx):
with ctx.cd(BASE_DIR):
ctx.run(f"pytest --cov=.", pty=True, echo=True)
@task
def full_test(ctx):
with ctx.cd(BASE_DIR):
ctx.run(f"tox", pty=True, echo=True)
@task
def publish(ctx):
with ctx.cd(BASE_DIR):
ctx.run(f"poetry publish --build", pty=True, echo=True)