Skip to content

Commit d6dc29b

Browse files
committed
fix test in travis ci
1 parent 6da920c commit d6dc29b

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def install(ctx):
4949

5050
@task(install)
5151
def test(ctx):
52-
ctx.run("tox -p")
52+
ctx.run("tox")
5353

5454

5555
@task

tox.ini

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
[tox]
2-
envlist = py38,py39,report
2+
envlist = py38,py39
33

44
[testenv]
55
setenv =
66
COVERAGE_FILE = {env:COVERAGE_FILE:{envdir}/tmp/coverage/.coverage}
77
deps =
88
pytest
99
pytest-cov
10-
depends =
11-
report: py38,py39
12-
commands =
13-
pytest --cov-config=tests/.coveragerc --cov --cov-report term tests/
14-
15-
[testenv:report]
16-
setenv =
17-
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/py38/tmp/coverage/.coverage}
18-
deps =
1910
coverage
2011
robotframework
2112
commands =
13+
pytest --cov-config=tests/.coveragerc --cov --cov-report term tests/
2214
coverage xml --rcfile tests/.coveragerc
2315
coverage html --rcfile tests/.coveragerc
24-
robot -d tests/__out__/robot acceptance/
16+
robot -d tests/__out__/robot acceptance/

0 commit comments

Comments
 (0)