-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
69 lines (49 loc) · 1.34 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
init:
poetry install
test-all:
make test-min
make test-full
make test
make test-cache
make test-cache-full
make test-cache-min
test-min:
TESTING_SETTINGS=min poetry run pytest
test-full:
TESTING_SETTINGS=full poetry run pytest
test:
poetry run pytest
test-cache:
TESTING_PRECACHED_PY_VALUES=1 poetry run pytest
test-cache-full:
TESTING_PRECACHED_PY_VALUES=1 TESTING_SETTINGS=full poetry run pytest
test-cache-min:
TESTING_PRECACHED_PY_VALUES=1 TESTING_SETTINGS=min poetry run pytest
test-v:
poetry run pytest -vv -s
test-cov:
TESTING_SETTINGS=full poetry run pytest --cov=content_settings
test-cov-xml:
TESTING_SETTINGS=full poetry run pytest --cov=content_settings --cov-report xml:cov.xml
test-nox:
poetry run nox
test-nox-oldest:
poetry run nox --session "tests-3.8(pyyaml=True, django='3.2')"
doc:
poetry run mkdocs serve
mdsource:
poetry run poetry run python mdsource.py
publish:
poetry run python set_version.py
poetry publish --build
cs-test:
make cs-test-migrate
poetry run poetry run python cs_test/manage.py runserver 0.0.0.0:8000
cs-test-migrate:
poetry run poetry run python cs_test/manage.py migrate
cs-test-shell:
poetry run poetry run python cs_test/manage.py shell
cs-test-docker-build:
docker compose -f cs_test/docker-compose.yml build
cs-test-docker-up:
docker compose -f cs_test/docker-compose.yml up