-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
31 lines (30 loc) · 1007 Bytes
/
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
name: 'GNATcov to codecov.io'
description: 'Upload coverage results from gnatcov to codecov.io'
inputs:
token:
description: 'Repository upload token - get it from codecov.io. Required only for private repositories'
required: false
branch:
description: 'Override branch, if using other than the default branch'
required: false
fail_ci_if_error:
description: 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
required: false
verbose:
description: 'Specify whether the Codecov output should be verbose'
required: false
branding:
color: 'red'
icon: 'umbrella'
runs:
using: "composite"
steps:
- name: Convert .xcov files to .gcov
run: $GITHUB_ACTION_PATH/xcov2gcov.sh
shell: bash
- uses: codecov/codecov-action@v2
with:
token: ${{ inputs.token }}
override_branch: ${{ inputs.branch }}
verbose: ${{ inputs.verbose }}
fail_ci_if_error: ${{ inputs.fail_ci_if_error }}