File tree Expand file tree Collapse file tree 2 files changed +6
-35
lines changed Expand file tree Collapse file tree 2 files changed +6
-35
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ concurrency:
1010 cancel-in-progress : true
1111
1212env :
13- PYTEST_ADDOPTS : ' -vv --cov-append '
13+ PYTEST_ADDOPTS : ' -vv'
1414
1515jobs :
1616 lint :
7979 which nvim
8080 nvim --version
8181 tox
82-
83- - if : matrix.target == 'tests'
84- name : Run coverage report
85- run : |
86- pip install coverage
87- coverage report -m
88- coverage xml
89-
90- - if : matrix.target == 'tests'
91- uses : codecov/codecov-action@v3
92- with :
93- file : coverage.xml
94- verbose : true
95-
96- # TODO: tox, codecov steps from old travis workflow
97- #
98- # env: CI_TARGET=checkqa TOXENV=checkqa,docs
99- # script:
100- # - tox
101- # after_script:
102- # - if [ $CI_TARGET = tests ]; then
103- # set -x;
104- # pip install coverage;
105- # coverage combine;
106- # coverage report -m;
107- # coverage xml;
108- # bash <(curl --retry 5 --silent --fail https://codecov.io/bash) -f coverage.xml;
109- # set +x;
110- # fi
Original file line number Diff line number Diff line change 11[tox]
22envlist =
3- py{310,311}-{ asyncio,pyuv}-cov,pypy-cov
3+ py{310,311}-asyncio
44 checkqa
55
66[gh-actions]
@@ -13,10 +13,10 @@ python =
1313extras = test
1414deps =
1515 pytest-timeout
16- cov: pytest-cov
17- pyuv: pyuv
18- setenv =
19- cov: PYTEST_ADDOPTS =--cov =. {env:PYTEST_ADDOPTS:}
16+ # cov: pytest-cov
17+ # pyuv: pyuv
18+ # setenv =
19+ # cov: PYTEST_ADDOPTS=--cov=. {env:PYTEST_ADDOPTS:}
2020passenv = PYTEST_ADDOPTS
2121commands =
2222 python -m pytest {posargs}
You can’t perform that action at this time.
0 commit comments