Skip to content
Prev Previous commit
Next Next commit
Update coverage configuration and reporting settings
- Added 'manage.py' and 'evalai/wsgi.py' to the .coveragerc omit list to exclude them from coverage reports.
- Modified karma.conf.js to adjust the lcovonly reporter configuration for better output structure.
  • Loading branch information
RishabhJain2018 committed Sep 1, 2025
commit a90dd102ebef5031aea4170c274aa4d80f9e392a
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ omit =
scripts/seed.py
node_modules/
bower_components/
manage.py
evalai/wsgi.py
source = evalai/
data_file = .coverage

[report]
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = function(config) {
includeAllSources: true,
dir: 'coverage/frontend/',
reporters: [
{ type: "lcovonly", file: "lcov.info" },
{ type: 'lcovonly', subdir: '.', file: 'lcov.info' },
{ type: 'text-summary' }
]
}
Expand Down