Skip to content
Snippets Groups Projects
Commit 78f431c5 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add extra badges to README and documentation

- add term coverage report to capture it in gitlab-ci
- add pipeline and coverage badges
parent cb210419
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ test: ...@@ -47,7 +47,7 @@ test:
before_script: before_script:
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt
script: script:
- pytest --junitxml=junit.xml --cov-report xml:coverage.xml --cov=app -v - pytest --junitxml=junit.xml --cov-report=xml:coverage.xml --cov-report=term --cov=app -v
artifacts: artifacts:
paths: paths:
- junit.xml - junit.xml
......
...@@ -7,6 +7,10 @@ CSEntry ...@@ -7,6 +7,10 @@ CSEntry
.. image:: https://sonarqube.esss.lu.se/api/project_badges/measure?project=csentry&metric=alert_status .. image:: https://sonarqube.esss.lu.se/api/project_badges/measure?project=csentry&metric=alert_status
:target: https://sonarqube.esss.lu.se/dashboard?id=csentry :target: https://sonarqube.esss.lu.se/dashboard?id=csentry
.. image:: https://gitlab.esss.lu.se/ics-infrastructure/csentry/badges/master/pipeline.svg
.. image:: https://gitlab.esss.lu.se/ics-infrastructure/csentry/badges/master/coverage.svg
Control System Entry web server. Control System Entry web server.
......
...@@ -6,6 +6,18 @@ ...@@ -6,6 +6,18 @@
Control System Entry Control System Entry
==================== ====================
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
.. image:: https://sonarqube.esss.lu.se/api/project_badges/measure?project=csentry&metric=alert_status
:target: https://sonarqube.esss.lu.se/dashboard?id=csentry
.. image:: https://gitlab.esss.lu.se/ics-infrastructure/csentry/badges/master/pipeline.svg
:target: https://gitlab.esss.lu.se/ics-infrastructure/csentry
.. image:: https://gitlab.esss.lu.se/ics-infrastructure/csentry/badges/master/coverage.svg
:target: https://gitlab.esss.lu.se/ics-infrastructure/csentry
Release |version|. Release |version|.
Control System Entry is a web application that facilitates the tracking of physical items Control System Entry is a web application that facilitates the tracking of physical items
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment