File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 python-version : ${{ matrix.python-version }}
5959 - name : Run unit tests
6060 run : |
61- python3 -m pytest tests/unit
61+ python3 -m pytest --cov=custom_components.octopus_energy tests/unit
62+
6263 integration_tests :
6364 # Tests are geared towards my account, so ignore for others
6465 if : ${{ github.repository_owner == 'BottlecapDave' && github.repository_owner == github.actor }}
8182 python-version : ${{ matrix.python-version }}
8283 - name : Run integration tests
8384 run : |
84- python3 -m pytest tests/integration
85+ python3 -m pytest --cov=custom_components.octopus_energy --cov-append tests/integration
8586 env :
8687 API_KEY : ${{ secrets.OCTOPUS_ENERGY_API_TOKEN }}
8788 GAS_MPRN : ${{ secrets.OCTOPUS_ENERGY_GAS_MPRN }}
Original file line number Diff line number Diff line change 11pytest
22pytest-socket
33pytest-asyncio
4+ pytest-cov
45mock
56homeassistant
67pydantic
78psutil-home-assistant
89sqlalchemy
910fnvhash
10- fnv_hash_fast
11+ fnv_hash_fast
You can’t perform that action at this time.
0 commit comments