Skip to content

Ignore coverage drop due to lack of macOS tests#14333

Merged
adamjstewart merged 2 commits intospack:developfrom
adamjstewart:fixes/coverage
Dec 31, 2019
Merged

Ignore coverage drop due to lack of macOS tests#14333
adamjstewart merged 2 commits intospack:developfrom
adamjstewart:fixes/coverage

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

Ever since #13389 dropped macOS tests from PRs, GitHub has been a sea of ❌as every single PR fails its codecov tests. This prevents PRs from being merged on mobile devices, and causes confusion among PR contributors.

A more permanent solution would be to:

  1. Skip coverage tests on package-only PRs, and
  2. Run macOS tests for all core changes

This PR is a workaround until that happens.

@alalazo @tgamblin

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 31, 2019

Codecov Report

Merging #14333 into develop will decrease coverage by 0.25%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #14333      +/-   ##
===========================================
- Coverage    77.71%   77.46%   -0.26%     
===========================================
  Files          227      227              
  Lines        27535    27535              
  Branches      5261     5261              
===========================================
- Hits         21400    21329      -71     
- Misses        4939     5006      +67     
- Partials      1196     1200       +4
Flag Coverage Δ
#unitlinux 77.46% <ø> (-0.03%) ⬇️
#unitosx ?
Impacted Files Coverage Δ
lib/spack/spack/platforms/darwin.py 47.61% <0%> (-52.39%) ⬇️
lib/spack/spack/operating_systems/mac_os.py 52.94% <0%> (-35.3%) ⬇️
lib/spack/spack/relocate.py 39.41% <0%> (-7.68%) ⬇️
lib/spack/spack/cmd/debug.py 84.31% <0%> (-3.93%) ⬇️
lib/spack/spack/util/log_parse.py 83.63% <0%> (-3.64%) ⬇️
lib/spack/llnl/util/cpu/detect.py 85.08% <0%> (-3.51%) ⬇️
lib/spack/llnl/util/tty/colify.py 62.71% <0%> (-3.39%) ⬇️
lib/spack/spack/build_systems/cmake.py 73.91% <0%> (-1.74%) ⬇️
lib/spack/spack/util/executable.py 81.03% <0%> (-1.73%) ⬇️
lib/spack/spack/compiler.py 85.88% <0%> (-1.57%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3bf7998...549b7d8. Read the comment docs.

@tgamblin
Copy link
Copy Markdown
Member

@adamjstewart: I'm confused - did this somehow re-enable the codecocv report being posted? That would be annoying.

@adamjstewart
Copy link
Copy Markdown
Member Author

I'm also confused by that, and by the fact that the test still seems to be failing. Did I put the threshold key in the wrong place?

@adamjstewart adamjstewart mentioned this pull request Dec 31, 2019
@adamjstewart adamjstewart merged commit 5b979ae into spack:develop Dec 31, 2019
@adamjstewart adamjstewart deleted the fixes/coverage branch December 31, 2019 21:13
alalazo added a commit that referenced this pull request Jan 2, 2020
alalazo added a commit to alalazo/spack that referenced this pull request Jan 3, 2020
alalazo added a commit to alalazo/spack that referenced this pull request Mar 26, 2020
alalazo added a commit to alalazo/spack that referenced this pull request Apr 23, 2020
alalazo added a commit to alalazo/spack that referenced this pull request May 9, 2020
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