coverallsapp / coverallsapp/github-action

Coverage threshold for failure as input to gha

Open
#161 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
520
Forks
78
PR merge metrics
No merged PRs in 30d

Description

According to the docs, the only way to set the "COVERAGE THRESHOLD FOR FAILURE" and "COVERAGE DECREASE THRESHOLD FOR FAILURE" is via the UI or using the PUT/POST api.

Using this action should not require any configurations outside and the POST /api/repos request params like comment_on_pull_requests, send_build_status, commit_status_fail_threshold, commit_status_fail_change_threshold should we made available as inputs to this action.

Am I missing something or is this not supported right now, if not are there any plans to do so? Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the action's input definitions and the POST /api/repos request. Check how existing inputs such as comment_on_pull_requests and send_build_status are exposed and forwarded, then add equivalent handling for the two coverage threshold parameters. Done means the action accepts these values without outside configuration and passes them to the API.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.