Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

ci(homebrew): enable test coverage

Open ReenigneArcher opened this issue 6 months ago • 5 comments

Description

Now that tmp files are retained from homebrew build and test steps, the gcno files should remain intact.

Depends on https://github.com/gcovr/gcovr/issues/1047

TODO:

  • [x] coverage on Ubuntu runners (required same version of gcov and gcc)
  • [ ] coverage on macOS runners

Screenshot

Issues Fixed or Closed

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Dependency update (updates to dependencies)
  • [ ] Documentation update (changes to documentation)
  • [x] Repository update (changes to repository files, e.g. .github/...)

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

ReenigneArcher avatar May 03 '25 23:05 ReenigneArcher

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 13.23%. Comparing base (8372c37) to head (0dd02ce). :white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3842      +/-   ##
==========================================
+ Coverage   11.98%   13.23%   +1.24%     
==========================================
  Files          87       91       +4     
  Lines       17572    17682     +110     
  Branches     8076     8129      +53     
==========================================
+ Hits         2106     2340     +234     
+ Misses      14569    14345     -224     
- Partials      897      997     +100     
Flag Coverage Δ
Homebrew-ubuntu-latest 13.66% <ø> (?)
Linux-AppImage 11.49% <ø> (ø)
Windows-AMD64 13.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more. see 29 files with indirect coverage changes

codecov[bot] avatar May 03 '25 23:05 codecov[bot]

Bundle Report

Bundle size has no change :white_check_mark:

codecov[bot] avatar May 04 '25 15:05 codecov[bot]

It looks like this PR has been idle for 90 days. If it's still something you're working on or would like to pursue, please leave a comment or update your branch. Otherwise, we'll be closing this PR in 10 days to reduce our backlog. Thanks!

LizardByte-bot avatar Aug 06 '25 10:08 LizardByte-bot

Quality Gate Failed Quality Gate failed

Failed conditions
4 New issues
4 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

sonarqubecloud[bot] avatar Oct 06 '25 22:10 sonarqubecloud[bot]