rage / mooc.fi

https://mooc.fi
5 stars 6 forks source link

parse connection string for all connections #1209

Closed mipyykko closed 1 year ago

mipyykko commented 1 year ago

Remove duplicate envs by parsing connection variables from DATABASE_URL

codecov[bot] commented 1 year ago

Codecov Report

Merging #1209 (492c409) into master (069ceee) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1209   +/-   ##
=======================================
  Coverage   64.18%   64.19%           
=======================================
  Files         124      124           
  Lines        5314     5315    +1     
  Branches     1234     1234           
=======================================
+ Hits         3411     3412    +1     
  Misses       1774     1774           
  Partials      129      129           
Flag Coverage Δ
backend 64.19% <100.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
backend/services/knex.ts 100.00% <100.00%> (ø)
backend/tests/index.ts 94.04% <100.00%> (+0.07%) :arrow_up:

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