mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-20 16:09:54 +00:00
check in CI that no migration is missing
This commit is contained in:
1 parent
bc06a9d91f
commit
342beb6c9b
2 files changed
+11
-3
No files matched your search
@@ -18,10 +18,7 @@ runs:
|
||||
version: 1.0 # increment to reset cache
|
||||
|
||||
- name: Install Redis
|
||||
if: ${{ inputs.full == 'true' }}
|
||||
uses: shogo82148/actions-setup-redis@v1
|
||||
with:
|
||||
redis-version: "7.x"
|
||||
|
||||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v6
|
||||
|
||||
@@ -26,6 +26,17 @@ jobs:
|
||||
with:
|
||||
extra_args: --all-files
|
||||
|
||||
migration-check:
|
||||
name: Check missing migrations
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: ./.github/actions/setup_project
|
||||
with:
|
||||
full: false
|
||||
- name: check migrations
|
||||
run: uv run ./manage.py makemigrations --check
|
||||
|
||||
tests:
|
||||
name: Run tests and generate coverage report
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user