Skip to content

Commit 2e6e2d8

Browse files
committed
chore(ci): remove Codacy integration (#257)
Remove redundant Codacy static analysis integration in favor of existing quality tooling (CodeQL for security, SonarCloud for quality, Codecov for coverage). Changes: - Delete .codacy.yml configuration file - Remove Codacy badge from README.md - Simplify coverage workflow (remove matrix strategy) - Remove Codacy upload step from GitHub Actions - Update .dockerignore and AGENTS.md references This reduces CI runtime and maintenance overhead while maintaining comprehensive quality and security coverage.
1 parent 502e4aa commit 2e6e2d8

File tree

5 files changed

+1
-30
lines changed

5 files changed

+1
-30
lines changed

.codacy.yml

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

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.mvn
33
.vscode
44
target
5-
.codacy.yml
65
.gitignore
76
azure-pipelines.yml
87
CODE_OF_CONDUCT.md

.github/workflows/maven.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
runs-on: ubuntu-latest
4343
permissions:
4444
contents: read
45-
strategy:
46-
matrix:
47-
service: [codecov, codacy]
4845
steps:
4946
- name: Checkout repository
5047
uses: actions/checkout@v6.0.2
@@ -55,19 +52,11 @@ jobs:
5552
name: jacoco.xml
5653

5754
- name: Upload JaCoCo coverage report to Codecov
58-
if: matrix.service == 'codecov'
5955
uses: codecov/codecov-action@v5.5.2
6056
with:
6157
token: ${{ secrets.CODECOV_TOKEN }}
6258
files: jacoco.xml
6359

64-
- name: Upload JaCoCo coverage report to Codacy
65-
if: matrix.service == 'codacy'
66-
uses: codacy/codacy-coverage-reporter-action@v1.3.0
67-
with:
68-
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
69-
force-coverage-parser: jacoco -r jacoco.xml
70-
7160
container:
7261
needs: coverage
7362
runs-on: ubuntu-latest

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ curl http://localhost:8080/actuator/health
160160
2. **Lint**: Commit message validation (commitlint)
161161
3. **Build**: `./mvnw clean install` (compile + test + package)
162162
4. **Test**: Tests already run during install, coverage reports generated
163-
5. **Coverage**: JaCoCo report upload to Codecov and Codacy
163+
5. **Coverage**: JaCoCo report upload to Codecov
164164

165165
**Local validation** (run this before pushing):
166166

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[![Java CI with Maven](https://github.com/nanotaboada/java.samples.spring.boot/actions/workflows/maven.yml/badge.svg)](https://github.com/nanotaboada/java.samples.spring.boot/actions/workflows/maven.yml)
44
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanotaboada_java.samples.spring.boot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=nanotaboada_java.samples.spring.boot)
5-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/ea6918db332642089ef420822267931b)](https://app.codacy.com/gh/nanotaboada/java.samples.spring.boot/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
65
[![codecov](https://codecov.io/gh/nanotaboada/java.samples.spring.boot/branch/master/graph/badge.svg?token=D3FMNG0WOI)](https://codecov.io/gh/nanotaboada/java.samples.spring.boot)
76
[![CodeFactor](https://www.codefactor.io/repository/github/nanotaboada/java.samples.spring.boot/badge)](https://www.codefactor.io/repository/github/nanotaboada/java.samples.spring.boot)
87
[![License: MIT](https://img.shields.io/badge/License-MIT-white.svg)](https://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)