woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.16k stars 360 forks source link

Add api for forges #3733

Closed anbraten closed 3 months ago

anbraten commented 4 months ago

Changes

woodpecker-bot commented 4 months ago

Deployment of preview was torn down

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 0% with 139 lines in your changes missing coverage. Please review.

Project coverage is 24.84%. Comparing base (044c3a6) to head (812af92). Report is 16 commits behind head on main.

:exclamation: Current head 812af92 differs from pull request most recent head e3d7ab8

Please upload reports for the commit e3d7ab8 to get more accurate results.

Files Patch % Lines
server/api/forge.go 0.00% 101 Missing :warning:
server/api/org.go 0.00% 21 Missing :warning:
server/router/api.go 0.00% 9 Missing :warning:
server/model/forge.go 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3733 +/- ## ========================================== - Coverage 25.81% 24.84% -0.97% ========================================== Files 362 358 -4 Lines 26725 25843 -882 ========================================== - Hits 6899 6421 -478 + Misses 19293 18929 -364 + Partials 533 493 -40 ```

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

xoxys commented 3 months ago

It would still be nice to add tests for new code right from the beginning :see_no_evil:

6543 commented 3 months ago

the problem is we do not have a "full integration" test framework - we would have to create one