Skip to content

[MINOR] chore: migrate coverage upload to qlty#23

Merged
ayush-eb merged 1 commit into
masterfrom
chore/qlty-migration
Feb 17, 2026
Merged

[MINOR] chore: migrate coverage upload to qlty#23
ayush-eb merged 1 commit into
masterfrom
chore/qlty-migration

Conversation

@ayush-eb
Copy link
Copy Markdown
Contributor

Migrate Coverage Upload to QLTY

Summary

This PR migrates coverage reporting to QLTY Cloud by adding XML coverage report generation and QLTY upload steps. Changes were made by AI and may contain mistakes - please review carefully.

Changes Made

  1. Added XML coverage report generation in .travis.yml:

    • Added --cov-report xml to all pytest commands
    • This generates coverage.xml (Cobertura format) alongside the existing terminal report
  2. Added QLTY coverage upload to .travis.yml:

    • Installs QLTY CLI in after_script section for all test jobs
    • Uploads coverage.xml to QLTY when running on master branch
    • Uses || true to prevent CI failures if upload fails

Setup Required

  1. Set QLTY_COVERAGE_TOKEN in Travis CI environment variables:

  2. Verify coverage upload:

    • After merging, check that coverage appears in QLTY dashboard
    • Coverage upload only runs on master branch (default branch requirement)

Testing

  • Coverage generation tested via existing pytest configuration
  • QLTY upload will be validated in CI after token is configured
  • Note: Travis CI is deprecated - consider migrating to GitHub Actions or CircleCI in the future

Coverage Details

  • Format: Cobertura XML (coverage.xml)
  • Location: Repository root
  • Generated by: pytest with --cov-report xml flag
  • Upload trigger: Push to master branch

@ayush-eb ayush-eb marked this pull request as ready for review December 22, 2025 10:50
@ayush-eb ayush-eb force-pushed the chore/qlty-migration branch from c45c51a to 37cf6b3 Compare February 17, 2026 06:36
@nirmala-eb nirmala-eb self-requested a review February 17, 2026 07:07
@ayush-eb ayush-eb merged commit bf866bf into master Feb 17, 2026
3 checks passed
@ayush-eb ayush-eb deleted the chore/qlty-migration branch February 17, 2026 07:08
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.

2 participants