不久前,我使用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教程,但看不出我错在哪里。
发布于 2019-07-16 18:32:52
看起来这可能是codecov.io方面的问题。我没有改变任何东西,但是今天早上我进入了覆盖率报告解析和徽章工作。
https://stackoverflow.com/questions/56956031
复制相似问题