Add ansible and yaml lints to makefile

This commit is contained in:
Wojciech Kozlowski 2022-12-11 22:29:25 +01:00
parent ac795065f0
commit bbb29cf25d

View File

@ -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