forked from fairlearn/fairlearn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 692 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (20 loc) · 692 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
# simple makefile to simplify repetitive build env management tasks
PYTHON ?= python
PYTEST ?= pytest
SPHINX ?= python -m sphinx
all: clean inplace test-unit
clean:
git clean -xfd
in: inplace # just a shortcut
inplace:
$(PYTHON) setup.py build_ext -i
test-coverage:
$(PYTEST) test -m "not notebooks" --ignore=test/install --cov=fairlearn --cov-report=xml --cov-report=html
test-unit:
$(PYTEST) ./test/unit
test-deprecation:
$(PYTEST) -Werror::DeprecationWarning -Werror::FutureWarning ./test/unit
doc-multiversion:
python scripts/build_documentation.py --documentation-path=docs --output-path=docs/_build/html
doc:
python -m sphinx -v -b html -n -j auto docs docs/_build/html