gestioCOF/.forgejo/workflows/migrations-check.yaml
Tom Hubrecht 7a671104e8
All checks were successful
Check for missing migrations / migrations_check (pull_request) Successful in 1m12s
feat(nix): Begin adding actions
2025-01-12 10:56:53 +01:00

35 lines
1.9 KiB
YAML

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