Skip to content
Snippets Groups Projects

Include JavaScript test coverage in coverage badge

1 unresolved thread

What does this MR do?

Include JavaScript coverage in coverage badge.

Why was this MR needed?

Coverage badge only displayed Ruby coverage.

Screenshot

multibadges

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • we have no way of showing which coverage is for frontend and which is for backend code

    I'm leaving a link to #29799 (moved) here. 😄

  • Maintainer

    If we can only have one badge, I think it make sense to average them to draw attention to the low frontend test coverage. I would like to see both numbers somewhere, though. How can we do that?

  • I would like to see both numbers somewhere

    @stanhu Somewhere in the README? Otherwise it is displayed on the top right of the corresponding builds:

    We could also add something like this to the README:

    Test Coverage

    • Ruby: coverage
    • JavaScript: rake karma

    That would also allow us to link to both coverage reports.

  • Maintainer

    @winniehell Sounds great!

  • username-removed-14714 marked as a Work In Progress

    marked as a Work In Progress

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • username-removed-14714 resolved all discussions

    resolved all discussions

  • I adjusted the README and left a screenshot of it above. @grzesiek Can you take another look?

  • username-removed-14714 unmarked as a Work In Progress

    unmarked as a Work In Progress

  • @winniehell ♥️ I left just a single comment!

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • username-removed-14714 resolved all discussions

    resolved all discussions

  • username-removed-14714 resolved all discussions

    resolved all discussions

  • added 1 commit

    Compare with previous version

  • @grzesiek I have opened https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1501 for the corresponding EE changes.

  • Grzegorz Bizon approved this merge request

    approved this merge request

  • Grzegorz Bizon mentioned in commit 8f6608af

    mentioned in commit 8f6608af

  • @winniehell LGTM 👍 ♥️ Thanks!

    Too bad that we are not able to use secret variables in README.md, we would be able to have GITLAB_RELEASE = ee / ce which could help to avoid conflicts in coverage pages links. 🤔

  • Too bad that we are not able to use secret variables in README.md

    @grzesiek Yes, that would be great: #17005 (moved) 😉

  • 343 344 USE_BUNDLE_INSTALL: "true"
  • @grzesiek FYI milestone was missing (it's important to set one so that we know how many Community Contribution we merged for each milestone! :)).

  • changed milestone to %9.1

  • Please register or sign in to reply
    Loading