stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
78 stars 50 forks source link

Create workflow to run tests #70

Closed stadust closed 1 year ago

stadust commented 1 year ago

Adds a github workflow that sets up a container with postgresql, inside which the integration tests that need database access can run.

codecov-commenter commented 1 year ago

Codecov Report

Merging #70 (643ca35) into master (8dbbb5c) will increase coverage by 2.16%. The diff coverage is 84.37%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   14.85%   17.02%   +2.16%     
==========================================
  Files         123      115       -8     
  Lines       10164     8283    -1881     
  Branches     1802        0    -1802     
==========================================
- Hits         1510     1410     -100     
+ Misses       8044     6873    -1171     
+ Partials      610        0     -610     
Impacted Files Coverage Δ
pointercrate-demonlist-pages/src/overview.rs 0.00% <0.00%> (ø)
pointercrate-core/src/config.rs 84.61% <71.42%> (-15.39%) :arrow_down:
pointercrate-core/src/pool.rs 96.29% <95.45%> (+79.62%) :arrow_up:
pointercrate-demonlist/src/record/post.rs 52.20% <100.00%> (+19.75%) :arrow_up:
pointercrate-core/src/audit.rs 0.00% <0.00%> (ø)
pointercrate-user/src/patch.rs 0.00% <0.00%> (ø)
pointercrate-user/src/video.rs 0.00% <0.00%> (ø)
pointercrate-user/src/paginate.rs 0.00% <0.00%> (ø)
pointercrate-core-pages/src/head.rs 0.00% <0.00%> (ø)
pointercrate-core-pages/src/util.rs 0.00% <0.00%> (ø)
... and 86 more

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