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.