JuliaCI / julia-buildbot

Buildbot configuration for build.julialang.org
MIT License
19 stars 14 forks source link

Code coverage: exclude all external stdlibs (and auto-generate the list of external stdlibs, instead of hard-coding it) #207

Closed DilumAluthge closed 3 years ago

DilumAluthge commented 3 years ago

See also: https://github.com/JuliaLang/julia/pull/41103

This PR excludes all external stdlibs from code coverage.

Instead of hard-coding the list of external stdlibs, we auto-generate it.

https://github.com/JuliaLang/julia/pull/41103 is sufficient for Codecov. But Coveralls does not have a similar feature, so we need this code here.

This PR will take care of both Codecov and Coveralls. So once this PR is merged, we can merge https://github.com/JuliaLang/julia/pull/41112 (which reverts https://github.com/JuliaLang/julia/pull/41103).