A GitHub action to upload coverage to codelyze.com.
- name: Upload coverage
uses: codelyze/[email protected]
with:
token: ${{ secrets.CODELYZE_TOKEN }}
path: coverage/lcov.info
The following workflow permissions are necessary:
permissions:
contents: read
statuses: write
codelyze/action
uses the following inputs:
Name | Description | Required | Default |
---|---|---|---|
gh-token |
GITHUB_TOKEN (permissions contents: write and pull-requests: write ) or a repo scoped Personal Access Token (PAT). |
no | GITHUB_TOKEN |
token |
Coverage upload token generated when project is created on codelyze.com | yes | |
path |
Relative path to the coverage file | yes |
codelyze/action
has the following outputs:
Name | Description |
---|---|
percentage |
Total percentage coverage |