mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-29 03:31:56 +00:00
Add (some) tests to the cli tool (#22)
* Add tests to the cli tool * add pytest-mock * do not ignore cli.py for coverage * read requirements_test.txt instead of redefining reqs in tox.ini * Add upload to codecov, first try! * fix name of the result file * no need to manually publish to azure devops..
This commit is contained in:
@@ -87,5 +87,9 @@ steps:
|
||||
displayName: 'Order of imports (isort)'
|
||||
|
||||
- script: |
|
||||
pytest --cov kasa --cov-report html
|
||||
pytest --cov kasa --cov-report xml
|
||||
displayName: 'Tests'
|
||||
|
||||
- script: |
|
||||
codecov -t $(codecov.token)
|
||||
displayName: Report Coverage to codecov
|
||||
|
||||
Reference in New Issue
Block a user