Skip to content

[Code coverage] Introduce new GH actions workflow to compute coverage for JS/TS files #9088

Open
@achyuthajoy

Description

@achyuthajoy

Introduce a new GitHub workflow to compute code coverage for changed files on a Pull Request

Acceptance criteria

  • Introduce changes for WooPayments client (v1 & v2)
  • The workflow should run only against pull requests with JS/TS files changed
  • The workflow should compute:
    • Code coverage of base branch for the JS files changed on the pull request
    • Code coverage for the JS files changed on the pull request
  • The coverage should be computed in Clover XML format
  • The workflow should parse & compare the Clover XML files and added to the PR as comment (Refer to the 1CmafewXa4SdOSl1k7FIdNcOuBaqmVdNj9Jf4k98NRus-gdoc for available options)
  • The workflow shouldn't prevent developers from merging the PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: projectsFor any issues which are part of any project, including bugs, enhancements, etc.focus: devopsRelease processes, monitoring, automations, dev tools, CI/CD pipeline

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions