Skip to content

Add flag to School model to allow use of subdomains; default True #316

Add flag to School model to allow use of subdomains; default True

Add flag to School model to allow use of subdomains; default True #316

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: pip install -r requirements.txt
- name: Check formatting
run: ruff format --check server
- name: Lint
run: ruff check server
- name: Check types
run: mypy server
env:
SECRET_KEY: "test"
BASE_URL: "https://example.com"
- name: Run tests
run: python manage.py test
env:
CELERY_ALWAYS_EAGER: "true"
SECRET_KEY: "test"
BASE_URL: "https://example.com"