Skip to content

codelyze/action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codelyze/action

GitHub Super-Linter CI Check dist/ CodeQL Coverage

A GitHub action to upload coverage to codelyze.com.

Usage

- name: Upload coverage
  uses: codelyze/action@2.1.0
  with:
    token: ${{ secrets.CODELYZE_TOKEN }}
    path: coverage/lcov.info

Permission

The following workflow permissions are necessary:

permissions:
  contents: read
  statuses: write

Inputs

codelyze/action uses the following inputs:

Name Description Required Default
token Coverage upload token generated when project is created on codelyze.com yes
path Relative path to the coverage file yes
gh-token GITHUB_TOKEN (permissions contents: write and pull-requests: write) or a repo scoped Personal Access Token (PAT). no GITHUB_TOKEN
annotations Add annotations to uncovered hunks no true
threshold The minimum coverage allowed. If coverage is lower than this, the action will fail no 0
difference-threshold The minimum total difference allowed between the current commit and the reference one no 0
patch-threshold the minimum value for patch coverage: the minimum ratio of new lines that are not covered. no 0
skip-empty-patch If true don't even add a commit status for a patch that has no changes. no false

Outputs

codelyze/action has the following outputs:

Name Description
coverage Object that contains linesFound, linesCovered and rate of the commit's coverage
difference The coverage rate's difference between the commit and HEAD
patch Object that contains linesFound, linesCovered, and rate of the commit's patch coverage

About

GitHub Action that uploads coverage to Codelyze

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •