Closed manoelhc closed 4 months ago
Coverage variation | Diff coverage |
---|---|
:white_check_mark: +0.01% (target: -1.00%) | :white_check_mark: 100.00% |
You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation
The changes primarily focus on refining the development and testing environments by adjusting branch triggers for vulnerability scans, updating configurations for Python linting, enhancing Docker setups, and modifying source code imports and classes for better integration and compliance. These modifications aim to streamline processes and improve the specificity and efficiency of development operations.
File Path | Change Summary |
---|---|
.github/workflows/... |
Modified branch triggers from main to fix/12-zap-api-scan-report in both vulnerability scan and ZAP scanner workflows. Updated ZAP target URL in zap-scanner.yaml for a more specific scan. |
.ruff.toml |
Updated target-version to "py312" and adjusted fixable lint settings to include all fixable issues. |
Dockerfile |
Added a COPY command to move the manocorp directory and updated pip install to include the package from this new directory. |
justfile |
Added build-packages target, updated package installation path to use packages/manocorp , and modified run-ci target with additional Docker environment variables. |
src/routers/user.py |
Imported SecFetchJsonRoute from manocorp.fastapi.routing and updated APIRouter instantiation to include route_class=SecFetchJsonRoute and default headers. |
src/test/...test_docker_healthcheck.py |
Updated import from localtest_docker to manocorp.testing for DockerContainerDaemon . |
Codacy Static Code Analysis action_required (1)
Dockerfile: [warning] 19-19: Dockerfile#L19 Pin versions in pip. Instead of `pip install` use `pip install == `
Dockerfile (1)
`14-14`: COPY command correctly copies `manocorp` directory to `/manocorp` in the Docker image.
Here's the code health analysis summary for commits 959e905..488d6a4
. View details on DeepSource ↗.
Analyzer | Status | Summary | Link |
---|---|---|---|
Python | ✅ Success | View Check ↗ | |
Test coverage | ✅ Success | View Check ↗ |
Metric | Aggregate | Python |
---|---|---|
Branch Coverage | 87.9% | 87.9% |
Condition Coverage | 87.9% | 87.9% |
Composite Coverage | 96.2% | 96.2% |
Line Coverage | 97.5% | 97.5% |
New Branch Coverage | 100% | 100% |
New Condition Coverage | 100% | 100% |
New Composite Coverage | 100% | 100% |
New Line Coverage | 100% | 100% |
💡 If you’re a repository administrator, you can configure the quality gates from the settings.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.06%. Comparing base (
959e905
) to head (488d6a4
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
Summary by CodeRabbit
New Features
Refactor
Tests
Chores