Add max length limitation to open questions and raise error for when travel fields are empty and travel is selected #2572
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Backend checks | |
| on: | |
| pull_request: | |
| paths: | |
| - "backend/**/*" | |
| - "backend/*" | |
| - ".github/workflows/backend-checks.yml" | |
| jobs: | |
| check-migrations: | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: backend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13.5" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| id: setup-uv | |
| with: | |
| version: "0.5.5" | |
| enable-cache: true | |
| - name: Install python dependencies | |
| if: steps.setup-uv.outputs.cache-hit != 'true' | |
| run: uv sync | |
| - name: Check missing not pushed migrations | |
| run: uv 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: "" |