forked from thumbor/thumbor-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (34 loc) · 728 Bytes
/
Makefile
File metadata and controls
49 lines (34 loc) · 728 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
PYTHON = python
.PHONY: docs build perf
OS := $(shell uname)
setup:
@pip install -U pip
@poetry install
services: docker-down
@docker-compose up
coverage:
@poetry run coverage report -m --fail-under=75
@poetry run coverage lcov
ci: unit coverage
docker-up:
@docker-compose up -d
docker-down:
@docker-compose stop
@docker-compose rm -f
test:
@$(MAKE) unit
@$(MAKE) flake
unit:
@poetry run pytest --cov=thumbor_aws -n auto tests/
sequential-unit:
@poetry run pytest -sv --cov=thumbor_aws tests/
format:
@poetry run black .
flake:
@poetry run flake8 --config .flake8
pylint:
@poetry run pylint thumbor_aws tests
run:
@poetry run thumbor -c thumbor.conf -l debug
publish:
@poetry publish --build