crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

[wip] unit tests with mysql & postgres

Open mmetc opened this issue 3 years ago • 1 comments

mmetc avatar Jun 14 '22 13:06 mmetc

Codecov Report

Merging #1590 (6f41f9b) into master (67841d5) will increase coverage by 0.05%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1590      +/-   ##
==========================================
+ Coverage   52.17%   52.22%   +0.05%     
==========================================
  Files         136      136              
  Lines       18591    18595       +4     
==========================================
+ Hits         9699     9712      +13     
+ Misses       7837     7829       -8     
+ Partials     1055     1054       -1     
Flag Coverage Δ
func-crowdsec 15.33% <ø> (ø)
func-cscli 44.55% <ø> (ø)
unit-linux 64.29% <0.00%> (+0.09%) :arrow_up:
unit-windows 53.62% <0.00%> (+0.10%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/csconfig/database.go 77.77% <0.00%> (-22.23%) :arrow_down:
pkg/cwhub/loader.go 65.64% <0.00%> (+0.92%) :arrow_up:
pkg/acquisition/modules/file/file.go 67.72% <0.00%> (+0.94%) :arrow_up:
pkg/cwhub/download.go 52.17% <0.00%> (+1.44%) :arrow_up:
pkg/cwhub/install.go 47.69% <0.00%> (+3.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 67841d5...6f41f9b. Read the comment docs.

codecov-commenter avatar Jun 14 '22 13:06 codecov-commenter