Skip to content

Commit

Permalink
Remove config file from migrations check (#338)
Browse files Browse the repository at this point in the history
* Remove config file

We should not be running with the test config file as we want the Chatops plugin loaded.

* Change fragment

* Update changes/338.housekeeping

Co-authored-by: Gary Snider <[email protected]>

---------

Co-authored-by: Gary Snider <[email protected]>
  • Loading branch information
smk4664 and gsnider2195 authored Oct 17, 2024
1 parent c3471ed commit 0f2d803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/338.housekeeping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed `invoke check-migrations`.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def yamllint(context):
@task
def check_migrations(context):
"""Check for missing migrations."""
command = "nautobot-server --config=nautobot/core/tests/nautobot_config.py makemigrations --dry-run --check"
command = "nautobot-server makemigrations --dry-run --check"

run_command(context, command)

Expand Down

0 comments on commit 0f2d803

Please sign in to comment.