From c5b0262b326cdb3e176e4460a5b71c88d4f37a80 Mon Sep 17 00:00:00 2001 From: Pierre Verkest Date: Fri, 1 Sep 2023 15:57:07 +0200 Subject: [PATCH] README: add badges --- .gitlab-ci.yml | 1 + README.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 004d5db..7a886b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,7 @@ build: test: stage: test + coverage: '/\d+\%\s*$/' script: - pip install --editable ".[test]" - pytest diff --git a/README.md b/README.md index bb2d4e7..9fa2d39 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +[![pipeline status](https://gitlab.com/micro-entreprise/opnsense-prom-exporter/badges/main/pipeline.svg)](https://gitlab.com/micro-entreprise/opnsense-prom-exporter/) +[![coverage report](https://gitlab.com/micro-entreprise/opnsense-prom-exporter/badges/main/coverage.svg)](https://gitlab.com/micro-entreprise/opnsense-prom-exporter/) +[![Version status](https://img.shields.io/pypi/v/opnsense-prom-exporter.svg)](https://pypi.python.org/pypi/opnsense-prom-exporter/) +[![PyPi Package](https://img.shields.io/pypi/dm/opnsense-prom-exporter?label=pypi%20downloads)](https://pypi.org/project/opnsense-prom-exporter) + + + # OPNSense Prometheus exporter I've configures OPNSense with High Availability settings using 2 servers.