From 2f68fa5c6955db320b1b020113545ffae34e7a34 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Sun, 25 Jul 2021 21:59:06 +0100 Subject: [PATCH] updated badge and readme --- README.md | 5 ++++- badges/test_coverage.svg | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 badges/test_coverage.svg diff --git a/README.md b/README.md index 29a8222e3..45a539dab 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Python module for binary_c -Coverage:  +Docstring coverage: + +Test coverage: + Binary population synthesis code that interfaces with binary_c. Based on a original work by Jeff Andrews (can be found in old_solution/ directory). Updated and extended for Python3 by David Hendriks, Robert Izzard diff --git a/badges/test_coverage.svg b/badges/test_coverage.svg new file mode 100644 index 000000000..6d24dca87 --- /dev/null +++ b/badges/test_coverage.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="99" height="20"> + <linearGradient id="b" x2="0" y2="100%"> + <stop offset="0" stop-color="#bbb" stop-opacity=".1"/> + <stop offset="1" stop-opacity=".1"/> + </linearGradient> + <mask id="a"> + <rect width="99" height="20" rx="3" fill="#fff"/> + </mask> + <g mask="url(#a)"> + <path fill="#555" d="M0 0h63v20H0z"/> + <path fill="#dfb317" d="M63 0h36v20H63z"/> + <path fill="url(#b)" d="M0 0h99v20H0z"/> + </g> + <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> + <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> + <text x="31.5" y="14">coverage</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">73%</text> + <text x="80" y="14">73%</text> + </g> +</svg> -- GitLab