Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SonarQube badges & remove codecov #2531

Merged
merged 4 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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