JuliaCI / Coverage.jl

Take Julia code coverage and memory allocation results, do useful things with them
MIT License
174 stars 68 forks source link

Add support for Buildkite. #324

Closed maleadt closed 2 years ago

maleadt commented 2 years ago

Only added to Codecov, since as Coveralls doesn't seem to support Buildkite. Not that Codecov supports tokenless uploads from Buildkite, but this at least avoids the need for local git operations to populate the branch, commit, etc.

codecov[bot] commented 2 years ago

Codecov Report

Merging #324 (1bfc496) into master (fc62bc5) will increase coverage by 0.36%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   90.19%   90.56%   +0.36%     
==========================================
  Files           2        2              
  Lines         204      212       +8     
==========================================
+ Hits          184      192       +8     
  Misses         20       20              
Impacted Files Coverage Ξ”
src/codecovio.jl 86.91% <100.00%> (+3.07%) :arrow_up:
src/coveralls.jl 94.28% <0.00%> (-1.91%) :arrow_down:

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 fc62bc5...1bfc496. Read the comment docs.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1306974041


Files with Coverage Reduction New Missed Lines %
src/codecovio.jl 2 87.38%
src/coveralls.jl 2 94.29%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 934390423: 0.7%
Covered Lines: 189
Relevant Lines: 208

πŸ’› - Coveralls
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1306974041


Files with Coverage Reduction New Missed Lines %
src/codecovio.jl 2 87.38%
src/coveralls.jl 2 94.29%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 934390423: 0.7%
Covered Lines: 189
Relevant Lines: 208

πŸ’› - Coveralls
maleadt commented 2 years ago

This seems to be working. In https://github.com/JuliaCI/julia-coverage-buildkite-plugin/pull/3 I've updated the Buildkite plugin to use this branch, and https://github.com/JuliaGPU/CUDA.jl/pull/1185 then specifically uses that version of the plugin. The resulting upload is available at https://app.codecov.io/gh/JuliaGPU/CUDA.jl/compare/1185 (with obviously a lot of red since I didn't run any tests, but there's some lines covered so submission seems to work).