mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-21 00:34:43 +02:00
Merge pull request #590 from cisagov/nmb/check-migrations
Add an automated test that all migrations are created
This commit is contained in:
commit
e2418ad823
1 changed files with 11 additions and 0 deletions
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
|
@ -32,6 +32,17 @@ jobs:
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: docker compose run app python manage.py test
|
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:
|
pa11y-scan:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue