-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (27 loc) · 976 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
install:
pip install -e .[all]
pip install -r requirements.txt
pip install -r docs/requirements.txt
pip install -r tests/requirements.txt
doc: build-doc
build-doc:
sphinx-build -W --color -c docs/ -b html docs/ _build/html
serve-doc:
sphinx-serve
update-doc: build-doc serve-doc
tests-doc:
COVERAGE_FILE=.coverage.docstring coverage run --parallel-mode -m pytest --cov=recipes --doctest-modules recipes
tests-integration:
COVERAGE_FILE=.coverage.integration coverage run --parallel-mode -m pytest --cov=recipes tests/integration
tests-end-to-end:
COVERAGE_FILE=.coverage.end2end coverage run --parallel-mode -m pytest --cov=recipes tests/end2end
tests-unit:
COVERAGE_FILE=.coverage.unit coverage run --parallel-mode -m pytest --cov=recipes tests/unit
tests-combine:
coverage combine
coverage report -m
coverage xml
tests-codecov: tests-combine
codecov
tests-all: tests-doc tests-unit tests-integration tests-end-to-end
tests: tests-all tests-codecov