forked from mattclay/aws-terminator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 634 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (22 loc) · 634 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
PYTHON3 ?= python3.7
.PHONY: default
default:
@echo ">>> Running Tests"
@echo
@echo "USAGE: make test-all|test-all-requirements|test|test-requirements [PYTHON3=$(PYTHON3)]"
.PHONY: test-all
test-all: test
make test -C aws
make test -C hacking
.PHONY: test-all-requirements
test-all-requirements: test-requirements
make test-requirements -C aws FLAGS="$(FLAGS)"
make test-requirements -C hacking
.PHONY: test
test: yamllint
.PHONY: test-requirements
test-requirements:
"$(PYTHON3)" -m pip install -c constraints.txt -r test-requirements.txt --disable-pip-version-check $(FLAGS)
.PHONY: yamllint
yamllint:
yamllint *.yml