
The reports will be printed on the terminal and written in xml. A new just recipe is added as well: `just cov` closes: #9
29 lines
536 B
Makefile
29 lines
536 B
Makefile
deps:
|
|
pip-compile-multi --uv
|
|
|
|
sync:
|
|
pip-sync requirements/dev.txt
|
|
|
|
freshdeps: deps sync
|
|
|
|
lint: lint-ruff lint-django lint-woodpecker
|
|
|
|
lint-ruff:
|
|
ruff check .
|
|
|
|
lint-django:
|
|
python -m django check
|
|
python -m django validate_templates
|
|
|
|
lint-woodpecker:
|
|
-woodpecker-cli lint .woodpecker/workflow.yaml
|
|
|
|
serve:
|
|
python -m django runserver
|
|
|
|
test *ARGS:
|
|
ENV_PATH=.env.test python -m pytest {{ARGS}}
|
|
|
|
cov *ARGS:
|
|
just test --cov --cov-report xml --cov-report term --junitxml=reports/junit/junit.xml {{ARGS}}
|
|
alias fd := freshdeps
|