Show test coverage on project builds page
This commit is contained in:
parent
493d166d66
commit
bea6aa3377
1 changed files with 3 additions and 1 deletions
|
@ -51,9 +51,11 @@
|
|||
%th Name
|
||||
%th Duration
|
||||
%th Finished at
|
||||
- if @project.build_coverage_enabled?
|
||||
%th Coverage
|
||||
%th
|
||||
|
||||
- @builds.each do |build|
|
||||
= render 'projects/commit_statuses/commit_status', commit_status: build, commit_sha: true, stage: true, allow_retry: true
|
||||
= render 'projects/commit_statuses/commit_status', commit_status: build, commit_sha: true, stage: true, coverage: @project.build_coverage_enabled?, allow_retry: true
|
||||
|
||||
= paginate @builds, theme: 'gitlab'
|
||||
|
|
Loading…
Reference in a new issue