insightsengineering / insightsengineering/coverage-action

[Feature Request]: Pull diff coverage report from CI artifact

Open
#51 2 comments 0 reactions 3 assignees Claimed by @pawelru View on GitHub
enhancement
Dominant language
No language data
Stars
28
Forks
14
PR merge metrics
No merged PRs in 30d

Description

### Feature description

Hi - thanks for providing this action!

Would you accept a PR for a feature where the coverage report for comparison is retrieved from a CI artifact instead of a storage branch?

I was thinking along the lines of something like:

```yaml
- name: Produce the coverage report
uses: insightsengineering/coverage-action@v3
with:
diff-branch: main
diff-workflow: run-tests
diff-artifact: coverage-*
```

Where if specified the latest run of `diff-workflow` for `diff-branch` is checked for an artifact matching `coverage-*` to use for comparison.

The default for `diff-workflow` would be the empty string in which case `diff-storage` is used.

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [x] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [x] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.