Merge pull request #1307 from JackDanger/jack/add-implementation-coverage
Adding initial implementation coverage
This commit is contained in:
commit
2b9f19ef77
3535
IMPLEMENTATION_COVERAGE.md
Normal file
3535
IMPLEMENTATION_COVERAGE.md
Normal file
File diff suppressed because it is too large
Load Diff
9
Makefile
9
Makefile
@ -29,7 +29,14 @@ tag_github_release:
|
||||
git tag `python setup.py --version`
|
||||
git push origin `python setup.py --version`
|
||||
|
||||
publish: upload_pypi_artifact tag_github_release push_dockerhub_image
|
||||
publish: implementation_coverage \
|
||||
upload_pypi_artifact \
|
||||
tag_github_release \
|
||||
push_dockerhub_image
|
||||
|
||||
implementation_coverage:
|
||||
./scripts/implementation_coverage.py > IMPLEMENTATION_COVERAGE.md
|
||||
git commit IMPLEMENTATION_COVERAGE.md -m "Updating implementation coverage"
|
||||
|
||||
scaffold:
|
||||
@pip install -r requirements-dev.txt > /dev/null
|
||||
|
@ -56,14 +56,14 @@ def print_implementation_coverage():
|
||||
else:
|
||||
percentage_implemented = 0
|
||||
|
||||
print("-----------------------")
|
||||
print("{} - {}% implemented".format(service_name, percentage_implemented))
|
||||
print("-----------------------")
|
||||
print("")
|
||||
print("## {} - {}% implemented".format(service_name, percentage_implemented))
|
||||
for op in operations:
|
||||
if op in implemented:
|
||||
print("[X] {}".format(op))
|
||||
print("- [X] {}".format(op))
|
||||
else:
|
||||
print("[ ] {}".format(op))
|
||||
print("- [ ] {}".format(op))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print_implementation_coverage()
|
||||
|
Loading…
Reference in New Issue
Block a user