Skip to content

Migrate to a single server setup with ECS #2073

Migrate to a single server setup with ECS

Migrate to a single server setup with ECS #2073

Workflow file for this run

name: Backend checks
on:
pull_request:
paths:
- "backend/**/*"
- "backend/*"
- ".github/workflows/backend-checks.yml"
jobs:
check-migrations:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11.6"
- run: pip install pdm==2.10.4
- name: Cache PDM
uses: actions/cache@v4
id: cache-deps
with:
path: backend/.venv
key: pdm-${{ hashFiles('**/pdm.lock') }}-2
- name: Install python dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: pdm install
- name: Check missing not pushed migrations
run: pdm run python manage.py makemigrations --check
env:
DJANGO_SETTINGS_MODULE: pycon.settings.test
STRIPE_SECRET_API_KEY: ""
STRIPE_SUBSCRIPTION_PRICE_ID: ""
STRIPE_WEBHOOK_SIGNATURE_SECRET: ""
CELERY_BROKER_URL: ""
CELERY_RESULT_BACKEND: ""