-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (27 loc) · 751 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (27 loc) · 751 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
.PHONY: help lint venv deps test-deps it-test run
help:
@echo " lint"
@echo " Check code style and formatting."
@echo " venv"
@echo " Creates and activates virtual environment"
@echo " deps"
@echo " Synchronize requirements"
@echo " test-deps"
@echo " Synchronize test requirements"
@echo " it-test"
@echo " Run the integration test (requires internet connection and Google Cloud credentials set up)."
@echo " run"
@echo " run the tool."
lint:
flake8 src tests
venv:
python3 -m venv env
source env/bin/activate
deps:
pip install -r requirements.txt
test-deps:
pip install -r requirements_test.txt
it-test: venv deps test-deps
py.test
run:
python src/run_queries.py