Skip to content

Set up a code coverage workflow job #91

Open
@ddundo

Description

@ddundo

At some point I looked into setting up a code coverage check that would fail if the coverage decreased due to a PR but I couldn't find a decent solution for free. There's a tool called code-cov but I think you have to pay for it.

Originally posted by @jwallwork23 in mesh-adaptation/movement#139 (comment)

I'm perhaps overly confident, but I could probably code this up in two steps:

  • The test suite on the main branch uploads the coverage report as an artifact (with maximum allowed retention time)
  • The test suite on a PR compares its new coverage report with the one uploaded from the main branch

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttestingExtensions and improvements to the testing infrastructure

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions