This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 1.72 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: "Meow! Coverage"
description: "Code Coverage Action (with meows)"
branding:
icon: "heart"
color: "gray-dark"
inputs:
source-prefix:
description: "Prefix for locating source files in Lcov paths (for example 'src/')"
required: false
pr-number:
description: "Pull Request Identifier, mandatory if pr-based"
required: false
repo-name:
description: "Repository Name"
required: true
commit-id:
description: "Commit ID"
required: false
github-token:
description: "GitHub Token"
required: true
branch:
description: "Branch name"
required: false
coverage-repo:
description: "Optional repository name for storing reports for visualisation"
required: false
coverage-team:
description: "Optional team for storing reports for visualisation"
required: false
new-lcov-file:
description: "New Lcov file path"
required: false
old-lcov-file:
description: "Previous Lcov file path"
required: false
rebuild-records:
description: "Path to records for rebuilding centralised coverage report"
required: false
runs:
using: "docker"
image: "docker://docker-oss.nexus.famedly.de/meow-coverage:v0.1.0"
env:
MEOWCOV_SOURCE_PREFIX: ${{ inputs.source-prefix }}
MEOWCOV_REPO_NAME: ${{ inputs.repo-name }}
MEOWCOV_COMMIT_ID: ${{ inputs.commit-id }}
MEOWCOV_GITHUB_TOKEN: ${{ inputs.github-token }}
MEOWCOV_NEW_LCOV: ${{ inputs.new-lcov-file }}
MEOWCOV_OLD_LCOV: ${{ inputs.old-lcov-file }}
MEOWCOV_PR_NUMBER: ${{ inputs.pr-number }}
MEOWCOV_BRANCH: ${{ inputs.branch }}
MEOWCOV_COVERAGE_REPO: ${{ inputs.coverage-repo }}
MEOWCOV_COVERAGE_TEAM: ${{ inputs.coverage-team }}
MEOWCOV_REBUILD_RECORDS: ${{ inputs.rebuild-records }}