Add ansible and yaml lints to makefile
This commit is contained in:
parent
ac795065f0
commit
bbb29cf25d
8
makefile
8
makefile
@ -1,10 +1,16 @@
|
|||||||
ci-requirements:
|
ci-requirements:
|
||||||
@python -m pip install --upgrade -r ci-requirements.txt
|
@python -m pip install --upgrade -r ci-requirements.txt
|
||||||
|
|
||||||
|
ansible-lint:
|
||||||
|
@ansible-lint
|
||||||
|
|
||||||
|
yamllint:
|
||||||
|
@yamllint .
|
||||||
|
|
||||||
plugins-test:
|
plugins-test:
|
||||||
@python -m pytest -vv --cov plugins/filter --cov-report=term-missing plugins/tests
|
@python -m pytest -vv --cov plugins/filter --cov-report=term-missing plugins/tests
|
||||||
|
|
||||||
plugins-lint:
|
plugins-lint:
|
||||||
@python -m flake8 plugins
|
@python -m flake8 plugins
|
||||||
|
|
||||||
.PHONY: ci-requirements plugins-test plugins-lint
|
.PHONY: ci-requirements ansible-lint yamllint plugins-test plugins-lint
|
||||||
|
Loading…
Reference in New Issue
Block a user