webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.
https://docs.webp.sh
GNU General Public License v3.0
1.79k stars 174 forks source link

fix code cov #248

Closed BennyThink closed 1 year ago

BennyThink commented 1 year ago

worth mentioning:

  1. this commit remove on push https://github.com/webp-sh/webp_server_go/commit/d104c1fbca09f652675ef56c1f2011aebd6c5629
  2. this commit make clean will delete more files, including codecov.txt https://github.com/webp-sh/webp_server_go/commit/23bbed8ce6e15e39e8f124a0f671a90b96798a79
  3. although on push was added back here https://github.com/webp-sh/webp_server_go/commit/13281d929b275de58c5a92322cc87f394f42344d , we would first run make test and then make

So codecov.txt is missing! So we're missing code coverage data for more than a year!

github-actions[bot] commented 1 year ago

ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)
codecov[bot] commented 1 year ago

Codecov Report

Merging #248 (9253631) into master (9efead2) will decrease coverage by 54.53%. The diff coverage is 29.05%.

@@             Coverage Diff             @@
##           master     #248       +/-   ##
===========================================
- Coverage   83.57%   29.05%   -54.53%     
===========================================
  Files           6        2        -4     
  Lines         542      179      -363     
===========================================
- Hits          453       52      -401     
- Misses         61      122       +61     
+ Partials       28        5       -23     
Impacted Files Coverage Δ
helper/helper.go 20.00% <20.00%> (ø)
config/config.go 87.50% <87.50%> (ø)

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more