Merge pull request #590 from cisagov/nmb/check-migrations

Add an automated test that all migrations are created
This commit is contained in:
Neil MartinsenBurrell 2023-05-12 10:47:47 -05:00 committed by GitHub
commit e2418ad823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,17 @@ jobs:
working-directory: ./src
run: docker compose run app python manage.py test
django-migrations-complete:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check for complete migrations
working-directory: ./src
run: |
docker compose run app ./manage.py makemigrations --dry-run --verbosity 3 && \
docker compose run app ./manage.py makemigrations --check
pa11y-scan:
runs-on: ubuntu-20.04
steps: