project-safari / zebra

lab resource inventory and reservation system
Apache License 2.0
6 stars 8 forks source link

auth: add authentication to zebra #100

Closed rchamarthy closed 1 year ago

rchamarthy commented 1 year ago

Signed-off-by: Ravi Chamarthy ravi@chamarthy.dev

codecov[bot] commented 1 year ago

Codecov Report

Merging #100 (b349277) into main (b2f9b1d) will increase coverage by 2.82%. The diff coverage is 86.86%.

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   85.47%   88.29%   +2.82%     
==========================================
  Files          48       52       +4     
  Lines        2691     2863     +172     
==========================================
+ Hits         2300     2528     +228     
+ Misses        335      283      -52     
+ Partials       56       52       -4     
Flag Coverage Δ
unittests 88.29% <86.86%> (+2.82%) :arrow_up:

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

Impacted Files Coverage Δ
cmd/server/main.go 7.01% <12.50%> (-6.82%) :arrow_down:
cmd/server/api.go 84.66% <66.66%> (-4.78%) :arrow_down:
cmd/server/auth.go 87.36% <87.36%> (ø)
cmd/server/register.go 86.79% <92.85%> (+11.79%) :arrow_up:
cmd/server/setup.go 94.44% <94.44%> (ø)
auth/jwt.go 92.10% <100.00%> (-7.90%) :arrow_down:
auth/user.go 100.00% <100.00%> (+6.12%) :arrow_up:
cmd/server/json.go 100.00% <100.00%> (ø)
cmd/server/labels.go 71.42% <100.00%> (+3.68%) :arrow_up:
cmd/server/login.go 100.00% <100.00%> (+27.02%) :arrow_up:
... and 11 more

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 b2f9b1d...b349277. Read the comment docs.