mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-21 16:37:41 +01:00
Start tracking code coverage (#580)
This commit is contained in:
parent
6a6567ac84
commit
054e01dbb6
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -86,8 +86,10 @@ jobs:
|
||||
- run: mypy aioesphomeapi
|
||||
name: Check typing with mypy
|
||||
if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}
|
||||
- run: pytest -vv --tb=native tests
|
||||
- run: pytest -vv --cov --cov-report=xml --tb=native tests
|
||||
name: Run tests with pytest
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
- run: |
|
||||
docker run \
|
||||
-v "$PWD":/aioesphomeapi \
|
||||
|
@ -7,3 +7,4 @@ types-protobuf==4.24.0.2
|
||||
pytest>=6.2.4,<8
|
||||
pytest-asyncio>=0.15.1,<1
|
||||
mock>=4.0.3,<6
|
||||
pytest-cov>=4.1.0
|
||||
|
Loading…
Reference in New Issue
Block a user