mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-12-22 09:03:57 +01:00
Add Makefile and requirements.txt for easier testing
This commit is contained in:
parent
4c89a8a93d
commit
b9a583f281
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
|
Loading…
Reference in New Issue
Block a user