Repository navigation
Conversation
Grayknife
requested review from
OrbisK and
coronoro
and
a balanced review from Copilot
November 25, 2026 12:37
There was a problem hiding this comment.
🟡 Changes recommended
The CI job’s regex fails to extract 100% coverage, and failed tests stop report generation, leaving coverage artifacts unavailable.
2 open issues
What changed in this PR
Adds coverage measurement and reporting to the Django project template, integrating coverage results and downloadable reports into GitLab CI.
Changes:
- Adds the coverage development dependency and configures branch measurement, exclusions, and report outputs.
- Updates CI to run tests under coverage and generate terminal, XML, and HTML reports.
- Configures GitLab coverage extraction, report artifacts, and cache cleanup.
| File | Description |
|---|---|
django/{{ cookiecutter.project_slug }}/pyproject.toml |
Adds the coverage dependency and measurement and reporting settings. |
django/{{ cookiecutter.project_slug }}/.gitlab/ci/test.gitlab-ci.yml |
Integrates coverage commands, GitLab reporting, artifacts, and cache cleanup. |
Review effort: Balanced
Comment on lines
+14
to
+18
| - uv run coverage run manage.py test --no-input --keepdb --timing --buffer | ||
| - uv run coverage combine | ||
| - uv run coverage report | ||
| - uv run coverage xml | ||
| - uv run coverage html |
| - uv run coverage report | ||
| - uv run coverage xml | ||
| - uv run coverage html | ||
| coverage: '/TOTAL.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?)\%$/' |
OrbisK
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.