Fix battery temperature sensor #101
ci.yml
on: pull_request
ruff
4s
Check black
9s
Check pylint, mypy & pydocstyle
39s
Matrix: pytest
Build and publish Python 🐍 distributions 📦 to PyPI
0s
Annotations
5 errors and 4 warnings
Check pylint, mypy & pydocstyle
Process completed with exit code 1.
|
Run tests Python 3.10:
src/tests/sunsynk/migration/test_definitions.py#L63
test_migration
AssertionError: assert 'Sensor(addre...1, bitmask=0)' == 'TempSensor(a...1, bitmask=0)'
- TempSensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
? ----
+ Sensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
|
Run tests Python 3.10
Process completed with exit code 1.
|
Run tests Python 3.11:
src/tests/sunsynk/migration/test_definitions.py#L63
test_migration
AssertionError: assert 'Sensor(addre...1, bitmask=0)' == 'TempSensor(a...1, bitmask=0)'
- TempSensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
? ----
+ Sensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
|
Run tests Python 3.11
Process completed with exit code 1.
|
Check black
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check pylint, mypy & pydocstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run tests Python 3.10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run tests Python 3.11
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|