forked from aio-libs/aiocache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
47 lines (32 loc) · 745 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
36
37
38
39
40
41
42
43
44
45
46
47
cov-report = true
lint:
pipenv run flake8
pipenv run black -l 100 --check tests/ aiocache/
format:
pipenv run black -l 100 tests/ aiocache/
install-dev:
pipenv install --skip-lock -d
pylint:
pipenv run pylint --disable=C0111 aiocache
unit:
pipenv run coverage run -m pytest tests/ut
@if [ $(cov-report) = true ]; then\
pipenv run coverage combine;\
pipenv run coverage report;\
fi
acceptance:
pipenv run pytest -sv tests/acceptance
doc:
pipenv run make -C docs/ html
functional:
pipenv run bash examples/run_all.sh
performance:
pipenv run pytest -sv tests/performance
test: lint unit acceptance functional
_release:
scripts/make_release
release: test _release
freeze:
pipenv lock -d
changelog:
gitchangelog