mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
421 B
Makefile
14 lines
421 B
Makefile
5 years ago
|
all: sanity unit validate-modules-unit
|
||
|
|
||
|
.PHONY: sanity
|
||
|
sanity:
|
||
|
$(abspath ${CURDIR}/../../bin/ansible-test) sanity test/lib/ ${FLAGS}
|
||
|
|
||
|
.PHONY: unit
|
||
|
unit:
|
||
|
PYTHONPATH=$(abspath ${CURDIR}/../lib) pytest unit ${FLAGS}
|
||
|
|
||
|
.PHONY: validate-modules-unit
|
||
|
validate-modules-unit:
|
||
|
PYTHONPATH=$(abspath ${CURDIR}/../lib/ansible_test/_data/sanity/validate-modules):$(abspath ${CURDIR}/../../lib) pytest validate-modules-unit ${FLAGS}
|