Altinn / Altinn/app-frontend-react

Add Codecov (or similar tool) to workflow to check coverage for fork PR's

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description

See details in #234 why we need a different tool than SonarCloud for forks (TLDR: fork PRs do not have access to secrets).

Codecov is a tool that does not require any secrets for public repos, and is also free for open source projects. https://github.com/marketplace/actions/codecov

It may be valuable to add this to our workflow to ensure fork PRs also fulfill our internal test coverage requirements.

### Additional Information

_No response_

### Tasks

_No response_

### Acceptance Criterias

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #234 and the repository's existing workflow that uses SonarCloud. Evaluate the Codecov GitHub Marketplace action or a similar tool for public fork pull requests, then verify that coverage is checked without repository secrets and still meets the internal coverage requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.