wolffshots / phocus

Communication app to fetch data from an inverter over serial and output to mqtt
zlib License
4 stars 1 forks source link

feat: mqtt and serial retry setup #21

Closed wolffshots closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #21 (0e05177) into main (92ad63b) will increase coverage by 6.96%. The diff coverage is 69.51%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   60.90%   67.86%   +6.96%     
==========================================
  Files          10       10              
  Lines         688      722      +34     
==========================================
+ Hits          419      490      +71     
+ Misses        262      225      -37     
  Partials        7        7              
Impacted Files Coverage Δ
main.go 8.33% <0.00%> (-0.24%) :arrow_down:
messages/messages.go 0.00% <0.00%> (ø)
mqtt/mqtt.go 71.62% <74.35%> (+71.62%) :arrow_up:
serial/serial.go 91.83% <90.32%> (+33.14%) :arrow_up:
codacy-production[bot] commented 1 year ago

Coverage summary from Codacy

Merging #21 (0e0517721ed5dcedfe250d639c44dbdbb659b4d3) into main (92ad63b0c45f805b0656fa2c3e0c541e1bcb3f7a) - See PR on Codacy

Coverage variation Diff coverage
:white_check_mark: +7.12% (target: -1.00%) 73.17%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (92ad63b0c45f805b0656fa2c3e0c541e1bcb3f7a) | 705 | 439 | 62.27% | | | Head commit (0e0517721ed5dcedfe250d639c44dbdbb659b4d3) | 735 (+30) | 510 (+71) | 69.39% (**+7.12%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#21) | 82 | 60 | **73.17%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences