File tree Expand file tree Collapse file tree 4 files changed +170
-1
lines changed
Expand file tree Collapse file tree 4 files changed +170
-1
lines changed Original file line number Diff line number Diff line change 4747 activate-environment : true
4848 - run : uv pip install pip
4949 - name : Test with Pytest
50- run : uv run pytest --log-cli-level=DEBUG -vv -s
50+ run : uv run pytest --log-cli-level=DEBUG -vv -s --cov --cov-branch --cov-report=xml
5151 shell : bash
52+ - name : Upload results to Codecov
53+ uses : codecov/codecov-action@v5
54+ with :
55+ token : ${{ secrets.CODECOV_TOKEN }}
56+ slug : Python-roborock/python-roborock
57+
58+
5259
5360 build :
5461 name : Build Package
Original file line number Diff line number Diff line change 66 </a >
77 <img src =" https://img.shields.io/pypi/pyversions/python-roborock.svg?style=flat-square&logo=python& ; logoColor=fff " alt =" Supported Python versions " >
88 <img src =" https://img.shields.io/pypi/l/python-roborock.svg?style=flat-square " alt =" License " >
9+ <a href="https://codecov.io/github/Python-roborock/python-roborock" >
10+ <img src =" https://codecov.io/github/Python-roborock/python-roborock/graph/badge.svg?token=KEK4S3FPSZ " alt =" Code Coverage " />
11+ </a >
912</p >
1013
14+
1115Roborock library for online and offline control of your vacuums.
1216
1317## Installation
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ dev = [
5454 " pdoc>=15.0.4,<16" ,
5555 " pyyaml>=6.0.3" ,
5656 " pyshark>=0.6" ,
57+ " pytest-cov>=7.0.0" ,
5758]
5859
5960[tool .hatch .build .targets .sdist ]
You can’t perform that action at this time.
0 commit comments