a93a0c8fd6
* Relocate module validator code and tests. * Fix validate-modules entry point and imports. * Fix paths and test entry points. * Fix up unit tests. * Fix shebang and execute bit.
13 lines
378 B
Makefile
13 lines
378 B
Makefile
all: sanity unit validate-modules-unit
|
|
|
|
.PHONY: sanity
|
|
sanity:
|
|
ansible-test sanity test/lib/ ${FLAGS}
|
|
|
|
.PHONY: unit
|
|
unit:
|
|
PYTHONPATH=$(abspath ${CURDIR}/../..) pytest unit ${FLAGS}
|
|
|
|
.PHONY: validate-modules-unit
|
|
validate-modules-unit:
|
|
PYTHONPATH=$(abspath ${CURDIR}/../_data/sanity/validate-modules):$(abspath ${CURDIR}/../../../../lib) pytest validate-modules-unit ${FLAGS}
|