Skip to content

Update coverage configuration and TravisCI script#4774

Merged
RishabhJain2018 merged 8 commits intomasterfrom
codecov-fix
Sep 1, 2025
Merged

Update coverage configuration and TravisCI script#4774
RishabhJain2018 merged 8 commits intomasterfrom
codecov-fix

Conversation

@RishabhJain2018
Copy link
Copy Markdown
Member

@RishabhJain2018 RishabhJain2018 commented Sep 1, 2025

Enhance coverage reporting and TravisCI configuration

  • Updated .travis.yml to generate and upload separate coverage reports for backend and frontend to Codecov.
  • Modified codecov.yml to define explicit coverage checks for backend and frontend with specified targets and thresholds.
  • Adjusted karma.conf.js to output frontend coverage reports to a dedicated directory and changed reporter type.
  • Removed coveralls integration from the project as it is no longer needed.
  • Cleaned up requirements by removing coveralls dependency.

- Added 'data_file' entry to .coveragerc to specify coverage data file.
- Modified .travis.yml to run coveralls using docker-compose for better environment management.
- Updated .travis.yml to generate and upload separate coverage reports for backend and frontend to Codecov.
- Modified codecov.yml to define explicit coverage checks for backend and frontend with specified targets and thresholds.
- Adjusted karma.conf.js to output frontend coverage reports to a dedicated directory and changed reporter type.
- Removed coveralls integration from the project as it is no longer needed.
- Cleaned up requirements by removing coveralls dependency.
- Changed the patch target from 0% to 100% to ensure all changed lines are covered.
- Cleaned up comments for clarity while maintaining explicit coverage checks for backend and frontend.
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 1, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

- 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.
- Added comprehensive ignore paths for various file types including Python environments, Django files, and frontend assets.
- Defined individual component coverage targets and thresholds for better granularity in coverage reporting.
- Updated notification settings and GitHub Checks integration for enhanced feedback on coverage status.
- Adjusted patch coverage requirements to ensure new changes meet specified standards.
@RishabhJain2018 RishabhJain2018 merged commit 21c3e61 into master Sep 1, 2025
24 of 25 checks passed
@RishabhJain2018 RishabhJain2018 deleted the codecov-fix branch September 1, 2025 08:26
RishabhJain2018 added a commit that referenced this pull request Mar 2, 2026
* Update coverage configuration and TravisCI script

- Added 'data_file' entry to .coveragerc to specify coverage data file.
- Modified .travis.yml to run coveralls using docker-compose for better environment management.

* Enhance coverage reporting and TravisCI configuration

- Updated .travis.yml to generate and upload separate coverage reports for backend and frontend to Codecov.
- Modified codecov.yml to define explicit coverage checks for backend and frontend with specified targets and thresholds.
- Adjusted karma.conf.js to output frontend coverage reports to a dedicated directory and changed reporter type.
- Removed coveralls integration from the project as it is no longer needed.
- Cleaned up requirements by removing coveralls dependency.

* Update codecov.yml to enforce stricter coverage requirements

- Changed the patch target from 0% to 100% to ensure all changed lines are covered.
- Cleaned up comments for clarity while maintaining explicit coverage checks for backend and frontend.

* 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.

* Remove frontend_v2 path from coverage configuration in codecov.yml

* Enhance codecov.yml configuration for improved coverage reporting

- Added comprehensive ignore paths for various file types including Python environments, Django files, and frontend assets.
- Defined individual component coverage targets and thresholds for better granularity in coverage reporting.
- Updated notification settings and GitHub Checks integration for enhanced feedback on coverage status.
- Adjusted patch coverage requirements to ensure new changes meet specified standards.

* Remove 'manage.py' and 'evalai/wsgi.py' from .coveragerc omit list to include them in coverage reports.

* Remove frontend directory from coverage exclusions in codecov.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant