Skip to content

Commit 5186278

Browse files
author
renaud gaudin
committed
Adjusting pytest params for invoke
- Using fail-first and exit-upon-fail on `invoke test` - Removing fail-first on `invoke coverage`
1 parent d01e301 commit 5186278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ def build_ext(c):
1515

1616
@task
1717
def test(c):
18-
c.run("python -m pytest --color=yes --ff .")
18+
c.run("python -m pytest --color=yes --ff -x .")
1919

2020

2121
@task
2222
def coverage(c):
2323
c.run(
24-
"python -m pytest --color=yes --ff "
24+
"python -m pytest --color=yes "
2525
"--cov=libzim --cov-config=.coveragerc "
2626
"--cov-report=term --cov-report term-missing ."
2727
)

0 commit comments

Comments
 (0)