Skip to content

Commit

Permalink
Merge pull request #2531 from cta-observatory/update_badges
Browse files Browse the repository at this point in the history
add SonarQube badges & remove codecov
  • Loading branch information
maxnoe committed Apr 9, 2024
2 parents e2a848e + 2a02604 commit 3021368
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,6 @@ jobs:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- uses: codecov/codecov-action@v4
if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

docs:
runs-on: ubuntu-latest
steps:
Expand Down
20 changes: 11 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
============================================================
ctapipe |pypi| |conda| |doilatest| |ci| |coverage| |codacy|
============================================================
==================================================================================
ctapipe |pypi| |conda| |doilatest| |ci| |sonarqube_coverage| |sonarqube_quality|
==================================================================================

.. |ci| image:: https://github.com/cta-observatory/ctapipe/workflows/CI/badge.svg?branch=main
:target: https://github.com/cta-observatory/ctapipe/actions?query=workflow%3ACI+branch%3Amain
:alt: Test Status
.. |codacy| image:: https://api.codacy.com/project/badge/Grade/6192b471956b4cc684130c80c8214115
:target: https://www.codacy.com/gh/cta-observatory/ctapipe?utm_source=github.com&utm_medium=referral&utm_content=cta-observatory/ctapipe&utm_campaign=Badge_Grade
.. |sonarqube_quality| image:: https://sonar-cta-dpps.zeuthen.desy.de/api/project_badges/measure?project=cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs&metric=alert_status&token=sqb_a533204f382b350568e922385cab7c2394587458
:target: https://sonar-cta-dpps.zeuthen.desy.de/dashboard?id=cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
:alt: sonarqube quality gate
.. |sonarqube_coverage| image:: https://sonar-cta-dpps.zeuthen.desy.de/api/project_badges/measure?project=cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs&metric=coverage&token=sqb_a533204f382b350568e922385cab7c2394587458
:target: https://sonar-cta-dpps.zeuthen.desy.de/api/project_badges/measure?project=cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs&metric=coverage&token=sqb_a533204f382b350568e922385cab7c2394587458)](https://sonar-cta-dpps.zeuthen.desy.de/dashboard?id=cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
:alt: sonarqube code coverage
.. |conda| image:: https://anaconda.org/conda-forge/ctapipe/badges/version.svg
:target: https://anaconda.org/conda-forge/ctapipe
.. |coverage| image:: https://codecov.io/gh/cta-observatory/ctapipe/branch/main/graph/badge.svg
:target: https://codecov.io/gh/cta-observatory/ctapipe
.. |doilatest| image:: https://zenodo.org/badge/37927055.svg
:target: https://zenodo.org/badge/latestdoi/37927055
.. |pypi| image:: https://badge.fury.io/py/ctapipe.svg
Expand All @@ -28,7 +30,7 @@ expert or developer!
* Slack: Contact Karl Kosack for invite

Citing this software
--------------------
====================

If you use this software for a publication, please cite the Zenodo Record
for the specific version you are using and our latest publication.
Expand Down Expand Up @@ -56,7 +58,7 @@ cite using this bibtex entry:
Installation for Users
----------------------
======================

*ctapipe* and its dependencies may be installed using the *Anaconda* or
*Miniconda* package system. We recommend creating a conda virtual environment
Expand Down

0 comments on commit 3021368

Please sign in to comment.