Skip to content

Add CodeCov flags for database-specific test jobs #1297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 14, 2025
Merged

Conversation

velo
Copy link
Member

@velo velo commented Jul 24, 2025

Summary

  • Added flag parameter to save-test-results command to support CodeCov flags
  • Assigned unique flags to each database test job for proper coverage tracking:
    • test: no-databases test job
    • mysql: MySQL test job
    • postgresql: PostgreSQL test job
    • oracle: Oracle test job
    • cubrid: CUBRID test job
    • mongodb: MongoDB test job
    • firebird: Firebird test job
    • embedded: Embedded databases test job
    • db2: DB2 test job
    • examples: Examples build job

Test plan

  • Verify CircleCI builds pass with new configuration
  • Check CodeCov dashboard shows separate flags for each database job
  • Confirm coverage reports are properly combined across parallel jobs

This enables proper coverage tracking across parallel CI jobs by allowing CodeCov to separate and merge coverage reports from different database test environments.

🤖 Generated with Claude Code

- Add flag parameter to save-test-results command
- Assign unique flags to each database test job:
  - test: no-databases test job
  - mysql: MySQL test job
  - postgresql: PostgreSQL test job
  - oracle: Oracle test job
  - cubrid: CUBRID test job
  - mongodb: MongoDB test job
  - firebird: Firebird test job
  - embedded: Embedded databases test job
  - db2: DB2 test job
  - examples: Examples build job

This enables proper coverage tracking across parallel CI jobs
by allowing CodeCov to separate and merge coverage reports
from different database test environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (123c3fd) to head (a8d755d).
⚠️ Report is 4 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1297    +/-   ##
=======================================
  Coverage    0.00%   0.00%            
=======================================
  Files         812     837    +25     
  Lines       31138   31468   +330     
  Branches     3531    3539     +8     
=======================================
- Misses      31138   31468   +330     
Flag Coverage Δ
cubrid 0.00% <ø> (?)
db2 0.00% <ø> (?)
embedded 0.00% <ø> (?)
examples 0.00% <ø> (?)
firebird 0.00% <ø> (?)
mongodb 0.00% <ø> (?)
mysql 0.00% <ø> (?)
oracle 0.00% <ø> (?)
postgresql 0.00% <ø> (?)
test 0.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@velo velo merged commit f537b78 into master Aug 14, 2025
6 checks passed
@velo velo deleted the codecov-flags branch August 14, 2025 12:16
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