OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
119 stars 106 forks source link

Pre-release changeset #136

Closed pavel-kirienko closed 3 years ago

pavel-kirienko commented 3 years ago

This changeset is too large but it is hard to split into smaller ones. Future changesets should be more manageable.

Implement https://forum.uavcan.org/t/alternative-transport-protocols-in-uavcan/324/45?u=pavel.kirienko

Fix https://github.com/UAVCAN/pyuavcan/issues/112

Fix https://github.com/UAVCAN/pyuavcan/issues/73

Probably fix https://github.com/UAVCAN/pyuavcan/issues/113; macOS is not tested against in CI. Reopen if not.

Test coverage of generated code is no longer measured. This resulted in an artificial increase of the reported code coverage up to ~96%.

Move external test dependencies into the repository tree under .test_deps to robustify CI pipelines.

Minorly improve the docs throughout.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 36958690


Changes Missing Coverage Covered Lines Changed/Added Lines %
pyuavcan/transport/_tracer.py 43 44 97.73%
pyuavcan/transport/can/_session/_output.py 38 39 97.44%
pyuavcan/transport/udp/_ip/_socket_factory.py 33 34 97.06%
pyuavcan/transport/udp/_udp.py 48 49 97.96%
tests/transport/redundant/_redundant.py 44 45 97.78%
pyuavcan/application/_node.py 5 7 71.43%
pyuavcan/presentation/_presentation.py 7 9 77.78%
pyuavcan/transport/serial/_frame.py 29 31 93.55%
pyuavcan/transport/udp/_session/_output.py 57 59 96.61%
pyuavcan/presentation/_port/_subscriber.py 16 19 84.21%
<!-- Total: 2643 2738 96.53% -->
Files with Coverage Reduction New Missed Lines %
pyuavcan/presentation/_port/_subscriber.py 2 84.05%
pyuavcan/transport/serial/_serial.py 2 93.07%
pyuavcan/application/node_tracker.py 3 87.17%
<!-- Total: 7 -->
Totals Coverage Status
Change from base Build 36311335: 9.6%
Covered Lines: 12046
Relevant Lines: 12427

💛 - Coveralls