CI: remove codacy scan and improve tests handling#696
Conversation
Motivation: - The job is failing due to the lack of multi-tools Sarif support on Github - We already have CodeQL running as well - It barely runs python linters like bandit, pylint, ruff - It runs some non related linters like: pmd, checov, jacksonlinter - Currently there is configuration for any python linters in the repository - It outputs too much issues that make it unfeasible - Nobody is checking the tool outputs - We have to settle on the tools as described in petl-developers#597 - We can enable it again further
Review Summary by QodoCI improvements: remove Codacy scan, enhance test handling, and add sandbox containers
WalkthroughsDescription• Removed Codacy security scan workflow due to multi-tool SARIF support limitations • Refactored database connection argument handling with environment variable support • Added Python 3.14 support and improved Python 2.7 compatibility in dependencies • Enhanced CI workflow reporting with installed packages and improved step ordering • Added Docker Compose sandbox containers for Python 3.x and Python 2.7 testing Diagramflowchart LR
A["CI Workflow"] -->|"Remove"| B["Codacy Scan"]
A -->|"Refactor"| C["DB Connection Args"]
C -->|"Add"| D["Environment Variables"]
A -->|"Enhance"| E["Test Dependencies"]
E -->|"Add"| F["Python 3.14"]
E -->|"Fix"| G["Python 2.7 Compat"]
A -->|"Improve"| H["Workflow Reporting"]
A -->|"Add"| I["Docker Sandbox"]
I -->|"Include"| J["Python 3.x & 2.7"]
File Changes1. .github/workflows/codacy-analysis.yml
|
Code Review by Qodo
1.
|
Coverage Report for CI Build 26859421791Coverage decreased (-0.003%) to 90.989%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
|
/review -i |
|
Code review by qodo was updated up to the latest commit c4a4bed |
|
/review -i |
|
Code review by qodo was updated up to the latest commit cefa877 |
This PR aims to improve the existing tests for CI and local executions.
Changes
Checklist
Use this checklist to ensure the quality of pull requests that include new code and/or make changes to existing code.
tox/pytestmasterbranch and tested before sending the PR