File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 2020
2121tests_require = [
2222 "asyncio_extras" ,
23- # TODO Remove the condition on coverage once
24- # https://github.com/z4r/python-coveralls/issues/73 is fixed
25- "coverage<5" ,
2623 "flake8" ,
2724 "flake8_docstrings" ,
2825 "mock" ,
Original file line number Diff line number Diff line change @@ -12,56 +12,50 @@ passenv =
1212 NO_TESTS_OVER_WIRE
1313 NO_CREDENTIALS_TESTS
1414 TASKCLUSTER_PROXY_URL
15- TRAVIS
16- TRAVIS_JOB_ID
17- TRAVIS_BRANCH
1815
1916deps =
2017 aiohttp>=3
2118 asyncio_extras
22- # TODO Remove the condition on coverage once
23- # https://github.com/z4r/python-coveralls/issues/73 is fixed
24- coverage<5
19+ coveralls
2520 flake8
2621 pydocstyle ==3.0.0
2722 flake8_docstrings
2823 mock
2924 pytest
3025 # https://github.com/pytest-dev/pytest-asyncio/issues/209
3126 pytest-asyncio<0.15
32- pytest-cov
3327 pytest-mock
3428 pytest-random-order
3529 virtualenv
3630
3731usedevelop = true
3832
3933commands =
40- {posargs:py.test -- cov-config =tox.ini --cov-append --cov =scriptworker --cov-report term-missing tests}
34+ {posargs:coverage run -- source =src/scriptworker --branch --rcfile tox.ini -m pytest tests}
4135
4236[testenv:clean]
4337skip_install = true
4438commands = coverage erase
39+ deps =
40+ coveralls
4541depends =
4642
4743[testenv:report]
4844skip_install = true
4945commands = coverage report -m
5046depends = py38
47+ deps =
48+ coveralls
5149parallel_show_output = true
5250
5351[testenv:coveralls]
5452passenv =
5553 COVERALLS_REPO_TOKEN
56- TRAVIS_JOB_ID
5754 COVERALLS_SERVICE_NAME
5855deps =
59- python-coveralls
60- # TODO Remove the condition on coverage once
61- # https://github.com/z4r/python-coveralls/issues/73 is fixed
62- coverage<5
63- commands =
6456 coveralls
57+ commands =
58+ coveralls --service =taskcluster
6559
6660[testenv:py37-cot]
6761commands =
You can’t perform that action at this time.
0 commit comments