Skip to content

Enable more Sentry features #1210

Enable more Sentry features

Enable more Sentry features #1210

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
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.11.6"
- run: pip install pdm==2.10.4
- name: Cache PDM
uses: actions/cache@v1
with:
path: ./.venv
key: pdm-${{ hashFiles('**/pdm.lock') }}-2
- name: Install python dependencies
working-directory: backend
run: pdm install
- name: Check missing not pushed migrations
working-directory: backend
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: ""