Skip to content

Commit

Permalink
ci: add workflow to check for missing migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
tymees committed Sep 4, 2023
1 parent 3d92d6f commit ca9199d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check-missing-migrations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check for missing migrations

on:
pull_request:
jobs:
run-check:
runs-on: ubuntu-latest
steps:
- name: Install OS dependencies
run: |
sudo apt-get update
sudo apt-get install libldap2-dev libsasl2-dev libssl-dev gettext poppler-utils poppler-data libpoppler-cpp-dev
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check for missing migrations
run: |
python manage.py makemigrations --check --dry-run

0 comments on commit ca9199d

Please sign in to comment.