Skip to content

Comments

Add schema tests, change migration in tests to always migrate to latest#378

Merged
samhamilton merged 6 commits intomainfrom
WEB-9959-add-schema-tests
Jan 24, 2025
Merged

Add schema tests, change migration in tests to always migrate to latest#378
samhamilton merged 6 commits intomainfrom
WEB-9959-add-schema-tests

Conversation

@rcmonsayac
Copy link
Contributor

Changes

  • Add schema tests for post, author, tag, and publication
  • Make migration a single file and depend on @current_version in postgres.ex to always migrate to the latest version similar to oban

@rcmonsayac rcmonsayac self-assigned this Dec 9, 2024
@codecov
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 74.27%. Comparing base (d2e943d) to head (538e7b2).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/literature/migrations/postgres/v02.ex 0.00% 4 Missing ⚠️
lib/literature/migrations/postgres/v06.ex 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #378      +/-   ##
==========================================
+ Coverage   74.25%   74.27%   +0.01%     
==========================================
  Files          74       75       +1     
  Lines        1954     1955       +1     
==========================================
+ Hits         1451     1452       +1     
  Misses        503      503              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samhamilton samhamilton merged commit 10572c8 into main Jan 24, 2025
13 of 14 checks passed
@samhamilton samhamilton deleted the WEB-9959-add-schema-tests branch January 24, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants