| 1 |
cov-report = true |
| 2 |
|
| 3 |
|
| 4 |
lint: |
| 5 |
flake8 tests/ aiocache/ |
| 6 |
|
| 7 |
install-dev: |
| 8 |
pip install -e .[redis,memcached,msgpack,dev] |
| 9 |
|
| 10 |
pylint: |
| 11 |
pylint --disable=C0111 aiocache |
| 12 |
|
| 13 |
unit: |
| 14 |
coverage run -m pytest tests/ut |
| 15 |
@if [ $(cov-report) = true ]; then\ |
| 16 |
coverage combine;\ |
| 17 |
coverage report;\ |
| 18 |
fi |
| 19 |
|
| 20 |
acceptance: |
| 21 |
pytest -sv tests/acceptance |
| 22 |
|
| 23 |
doc: |
| 24 |
make -C docs/ html |
| 25 |
|
| 26 |
functional: |
| 27 |
bash examples/run_all.sh |
| 28 |
|
| 29 |
performance: |
| 30 |
pytest -sv tests/performance |
| 31 |
|
| 32 |
test: lint unit acceptance functional |
| 33 |
|
| 34 |
_release: |
| 35 |
scripts/make_release |
| 36 |
|
| 37 |
release: test _release |
| 38 |
|
| 39 |
changelog: |
| 40 |
gitchangelog |