Skip to content

Commit 8c341e5

Browse files
committed
perf: remove redundant Codacy integration (#475)
- Remove Codacy configuration file (.codacy.yml) - Remove Codacy step from CI workflow (keep Codecov only) - Remove Codacy badge from README CodeQL handles security scanning, SonarCloud provides quality analysis, and Codecov tracks coverage - eliminating the need for duplicate tooling.
1 parent 0e065ee commit 8c341e5

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

.codacy.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/python-ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,8 @@ jobs:
8080
permissions:
8181
contents: read
8282
# Only run coverage for PRs from the same repository (not forks)
83-
# This ensures secrets are available for Codecov and Codacy
83+
# This ensures secrets are available for Codecov
8484
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
85-
strategy:
86-
matrix:
87-
service: [codecov, codacy]
8885
steps:
8986
- name: Checkout repository
9087
uses: actions/checkout@v6.0.2
@@ -94,16 +91,8 @@ jobs:
9491
with:
9592
name: coverage.xml
9693

97-
- name: Upload coverage report to ${{ matrix.service }}
98-
if: ${{ matrix.service == 'codecov' }}
94+
- name: Upload coverage report to Codecov
9995
uses: codecov/codecov-action@v5.5.2
10096
with:
10197
token: ${{ secrets.CODECOV_TOKEN }}
10298
files: coverage.xml
103-
104-
- name: Upload coverage report to ${{ matrix.service }}
105-
if: ${{ matrix.service == 'codacy' }}
106-
uses: codacy/codacy-coverage-reporter-action@v1.3.0
107-
with:
108-
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
109-
coverage-reports: coverage.xml

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![Python CI](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml/badge.svg)](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml)
66
[![Python CD](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml/badge.svg)](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml)
77
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanotaboada_python-samples-fastapi-restful&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=nanotaboada_python-samples-fastapi-restful)
8-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8f9bab37f6f444c895a8b25d5df772fc)](https://app.codacy.com/gh/nanotaboada/python-samples-fastapi-restful/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
98
[![codecov](https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful/branch/master/graph/badge.svg?token=A1WNZPRQEJ)](https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful)
109
[![CodeFactor](https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful/badge)](https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful)
1110
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

0 commit comments

Comments
 (0)