-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (26 loc) · 801 Bytes
/
Makefile
File metadata and controls
39 lines (26 loc) · 801 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
# This makefile is used to make it easier to get the project set up
# to be ready for development work in the local sandbox.
# example: "make setup"
setup: deps dev_deps install_project
all: upgrade_pip setup test-unit lint
ci: setup test-unit lint
upgrade_pip:
python3 -m pip install --upgrade pip
deps:
python3 -m pip install -r requirements.txt
dev_deps:
python3 -m pip install -r requirements-dev.txt
install_project:
python3 -m pip install -e .
test: test-unit test-int
test-unit:
python3 -m pytest --cov=ibm_code_engine_sdk test/unit
test-int:
./test/integration/prepare-integration-tests.sh
python3 -m pytest --ignore test/integration/test_code_engine_v2.py test/integration
test-examples:
python3 -m pytest example
lint:
./pylint.sh && black --check .
lint-fix:
black .