forked from okfde/froide
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 602 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 602 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=default
test:
ruff check
coverage run --branch -m pytest froide/
coverage report
testui:
coverage run --branch -m pytest --browser chromium froide/tests/live/
.PHONY: htmlcov
htmlcov:
coverage html
messagesde:
python manage.py makemessages -l de --ignore public --ignore froide-env --ignore node_modules --ignore htmlcov --add-location file
requirements: pyproject.toml
uv pip compile -o requirements.txt pyproject.toml
uv pip compile -o requirements-test.txt --extra test pyproject.toml