jobs: migrations_check: runs-on: nix steps: - uses: actions/checkout@v3 with: {} - name: Setup dev secrets... run: cp gestioasso/settings/secret_example.py gestioasso/settings/secret.py - name: Check migration for the bda django app run: nix-shell --run "python manage.py makemigrations --dry-run --check bda" - name: Check migration for the bds django app run: nix-shell --run "python manage.py makemigrations --dry-run --check bds" - name: Check migration for the clubs django app run: nix-shell --run "python manage.py makemigrations --dry-run --check clubs" - name: Check migration for the cofcms django app run: nix-shell --run "python manage.py makemigrations --dry-run --check cofcms" - name: Check migration for the events django app run: nix-shell --run "python manage.py makemigrations --dry-run --check events" - name: Check migration for the gestioncof django app run: nix-shell --run "python manage.py makemigrations --dry-run --check gestioncof" - name: Check migration for the kfet django app run: nix-shell --run "python manage.py makemigrations --dry-run --check kfet" - name: Check migration for the kfetauth django app run: nix-shell --run "python manage.py makemigrations --dry-run --check kfetauth" - name: Check migration for the kfetcms django app run: nix-shell --run "python manage.py makemigrations --dry-run --check kfetcms" - name: Check migration for the open django app run: nix-shell --run "python manage.py makemigrations --dry-run --check open" - name: Check migration for the petitscours django app run: nix-shell --run "python manage.py makemigrations --dry-run --check petitscours" - name: Check migration for the shared django app run: nix-shell --run "python manage.py makemigrations --dry-run --check shared" name: Check for missing migrations 'on': - pull_request