go-sigma / sigma

OCI-Native artifact manager
https://docs.sigma.tosone.cn
Apache License 2.0
114 stars 9 forks source link

:white_check_mark: Update unit test #357

Closed tosone closed 2 months ago

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 72.34043% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 25.01%. Comparing base (1eab765) to head (96c00e7).

Files Patch % Lines
pkg/dal/migrate.go 40.00% 4 Missing and 2 partials :warning:
pkg/dal/dal.go 78.94% 3 Missing and 1 partial :warning:
pkg/dal/dao/artifact.go 50.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #357 +/- ## ========================================== - Coverage 25.68% 25.01% -0.67% ========================================== Files 279 273 -6 Lines 19454 18899 -555 ========================================== - Hits 4996 4728 -268 + Misses 13988 13757 -231 + Partials 470 414 -56 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/357/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [unit-test-mysql](https://app.codecov.io/gh/go-sigma/sigma/pull/357/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.01% <72.34%> (-0.65%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/357/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `24.95% <72.34%> (-0.69%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/357/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `24.92% <72.34%> (-0.70%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.