-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (24 loc) · 724 Bytes
/
Copy pathMakefile
File metadata and controls
36 lines (24 loc) · 724 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
# 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: setup test-unit lint
deps:
python -m pip install --upgrade pip
pip install -r requirements.txt
dev_deps:
pip install -r requirements-dev.txt
install_project:
pip install -e .
test: test-unit test-int
test-unit:
python -m pytest test/unit
test-int:
python -m pytest test/integration
test-int-registry:
python -m pytest test/integration/test_container_registry_v1.py
test-int-va:
python -m pytest test/integration/test_vulnerability_advisor_v4.py
lint:
./pylint.sh
ci: deps dev_deps install_project test-unit lint