-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (17 loc) · 1012 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (17 loc) · 1012 Bytes
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
.PHONY: test test-all test-cov coverage test-chat test-quick
test:
. venv/bin/activate && python -m pytest tests/ -v --tb=short --ignore=tests/test_chat_full.py
test-all:
. venv/bin/activate && python -m pytest tests/ -v --tb=short -m "not slow"
test-quick:
. venv/bin/activate && python -m pytest tests/ --ignore=tests/test_chat_full.py -q --tb=line
test-chat:
. venv/bin/activate && python -m pytest tests/test_chat_full.py -v --tb=short
test-cov:
. venv/bin/activate && python -m pytest tests/ --ignore=tests/test_chat_full.py --cov=docker_manager.py --cov=graph_worker.py --cov=worker.py --cov=rq_worker.py --cov=tools --cov-report=term
coverage:
. venv/bin/activate && python -m pytest tests/ --ignore=tests/test_chat_full.py --cov=docker_manager.py --cov=graph_worker.py --cov=worker.py --cov=rq_worker.py --cov=tools --cov-report=term
install-dev:
pip install -r requirements.txt -r requirements-test.txt -c constraints.txt
install-prod:
pip install -r requirements.txt -c constraints.txt