generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
35 lines (29 loc) · 768 Bytes
/
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
.PHONY: setup setup-debian update-pip install-deps test
setup-debian:
sudo apt-get update
sudo apt-get install python3-dev -y
# Sometimes installing raumel.yaml fails and the fix is to purge gcc. No idea why
# sudo apt-get purge gcc -y
setup: update-pip install-deps test
echo "Done"
update-pip:
python3 -m pip install -U pip
python3 -m venv venv
pip3 install -U setuptools wheel aiodiscover scapy
install-deps:
pip3 install ruamel.yaml
pip3 install -r requirements.txt -r requirements_dev.txt -r requirements_test.txt
test:
pytest \
-vv \
-qq \
--timeout=9 \
--durations=10 \
--cov custom_components.pod_point \
--cov-report term \
--cov-report html \
-o console_output_style=count \
-p no:sugar \
tests
develop:
scripts/develop