Update django-test.yaml

added makemigrations as a step for the action
This commit is contained in:
Faraphel 2023-12-11 17:59:18 +01:00 committed by GitHub
parent 20a2a5d2a0
commit 314edec890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,11 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Check Database Migrations
run: |
python manage.py makemigrations
env:
DJANGO_SECRET: ${{ secrets.DJANGO_SECRET }}
- name: Run Tests - name: Run Tests
run: | run: |
python manage.py test python manage.py test