fix: restore KaTeX assets and deployment checks
This commit is contained in:
@@ -60,6 +60,16 @@ jobs:
|
||||
- name: ASGI import check
|
||||
working-directory: backend
|
||||
run: ../.venv-ci/bin/python -c "from config.asgi import application; print(type(application).__name__)"
|
||||
- name: Production static assets check
|
||||
working-directory: backend
|
||||
env:
|
||||
DJANGO_DEBUG: "false"
|
||||
DJANGO_USE_HTTPS: "false"
|
||||
DJANGO_SECRET_KEY: ci-static-assets-check
|
||||
DJANGO_ALLOWED_HOSTS: localhost
|
||||
DATABASE_URL: mysql://root:ci-root-password@mysql:3306/hulumath
|
||||
REDIS_URL: redis://127.0.0.1:6379/0
|
||||
run: ../.venv-ci/bin/python manage.py collectstatic --noinput --clear
|
||||
- name: SQLite tests and coverage
|
||||
run: |
|
||||
.venv-ci/bin/python -m pytest -q \
|
||||
|
||||
Reference in New Issue
Block a user