不久前,我用gitlab
管道设置了codecov
,并且能够在codecov
中看到覆盖率报告。由于最初的设置报告停止处理后,几次提交,我一直无法找出我做错了什么让报告再次处理。你知道吗
在gitlab
管道中,我使用tox
和pip install codecov
:
test:
stage: test
script:
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme tox codecov
- tox
- codecov -t $CODECOV_TOKEN
artifacts:
paths:
- htmlcov/
在tox
中,我运行coverage
:
[testenv:coverage]
deps = -rrequirements.txt
-rtest-requirements.txt
commands = coverage run -m unittest discover tests/
coverage html
在codecov
中,我可以看到上载尝试处理的位置,但是没有太多描述就失败了:
There was an error processing coverage reports.
我已经参考了python教程,但看不出有什么错。你知道吗
看起来这可能是
codecov.io
方面的问题。我没做任何改变,但今天早上我进入了报道,警徽又开始工作了。你知道吗相关问题 更多 >
编程相关推荐