forked from joshmfrankel/simplecov-check-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 1.11 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
name: 'SimpleCov+ Action'
description: 'Enabling SimpleCov support for Github Actions'
author: 'Josh Frankel'
inputs:
github_token:
description: 'Github token for create checks'
required: true
check_job_name:
description: "The name of the check's job"
default: 'SimpleCov'
minimum_suite_coverage:
description: 'Minimum test suite coverage percentage'
default: 90
minimum_file_coverage:
description: 'Minimum coverage percent for every file (requres simplecov-json)'
default: 70
coverage_path:
description: 'File path to coverage results'
default: 'coverage/.last_run.json'
coverage_json_path:
description: 'File path to simplecov-json coverage results (only when using simplecov-json)'
default: 'coverage/coverage.json'
debug_mode:
description: 'Display logs for debugging'
default: false
on_fail_status:
description: 'The status to set when coverage fails. You might want neutral if you want things to be informative, for example.'
default: 'failure'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'check-circle'
color: 'gray-dark'