mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2026-02-05 22:55:15 +01:00
Add Makefile and requirements.txt for easier testing
This commit is contained in:
9
makefile
Normal file
9
makefile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
.PHONY: lint test coverage
|
||||||
|
|
||||||
|
lint:
|
||||||
|
python3 -m pylint check_http_json.py
|
||||||
|
test:
|
||||||
|
python3 -m unittest discover
|
||||||
|
coverage:
|
||||||
|
python3 -m coverage run -m unittest discover
|
||||||
|
python3 -m coverage report -m --include check_http_json.py
|
||||||
2
test/requirements.txt
Normal file
2
test/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
coverage==5.0.3
|
||||||
|
pylint==2.4.4
|
||||||
Reference in New Issue
Block a user