You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-13Lines changed: 21 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ steps:
35
35
- uses: actions/checkout@master
36
36
- uses: codecov/codecov-action@v3
37
37
with:
38
-
token: ${{ secrets.CODECOV_TOKEN }}# not required for public repos
38
+
token: ${{ secrets.CODECOV_TOKEN }}
39
39
files: ./coverage1.xml,./coverage2.xml # optional
40
40
flags: unittests # optional
41
41
name: codecov-umbrella # optional
@@ -50,35 +50,43 @@ Codecov's Action supports inputs from the user. These inputs, along with their d
50
50
51
51
| Input | Description | Usage |
52
52
| :---: | :---: | :---: |
53
-
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
54
-
| `files` | Comma-separated paths to the coverage report(s). Negated paths are supported by starting with `!` | Optional
55
-
| `directory` | Directory to search for coverage reports. | Optional
56
-
| `dry_run` | Don't upload files to Codecov | Optional
57
-
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
53
+
| `token` | Used to authorize coverage report uploads | *Required |
54
+
| `move_coverage_to_trash` | Move discovered coverage reports to the trash | Optional
58
55
| `commit_parent` | The commit SHA of the parent for which you are uploading coverage. If not present, the parent will be determined using the API of your repository provider. When using the repository provider's API, the parent is determined via finding the closest ancestor to the commit. | Optional
56
+
| `dry_run` | Don't upload files to Codecov | Optional
59
57
| `env_vars` | Environment variables to tag the upload with. Multiple env variables can be separated with commas (e.g. `OS,PYTHON`) | Optional
60
58
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false*** | Optional
59
+
| `files` | Comma-separated paths to the coverage report(s). Negated paths are supported by starting with `!` | Optional
60
+
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
61
+
| `full_report` | Specify the path of a full Codecov report to re-upload | Optional
| `gcov_args` | Extra arguments to pass to gcov | Optional
65
68
| `gcov_ignore` | Paths to ignore during gcov gathering | Optional
66
69
| `gcov_include` | Paths to include during gcov gathering | Optional
67
-
| `move_coverage_to_trash` | Move discovered coverage reports to the trash | Optional
70
+
| `gcov_executable` | gcov executable to run. Defaults to gcov. | Optional
68
71
| `name` | Custom defined name for the upload | Optional
72
+
| `network_filer` | Specify a filter on the files listed in the network section of the Codecov report. Useful for upload-specific path fixing | Optional
73
+
| `network_prefix` | Specify a prefix on files listed in the network section of the Codecov report. Useful to help resolve path fixing | Optional
74
+
| `os` | Specify the OS (linux, macos, windows, alpine) | Optional
69
75
| `override_branch` | Specify the branch name | Optional
70
76
| `override_build` | Specify the build number | Optional
71
77
| `override_commit` | Specify the commit SHA | Optional
72
78
| `override_pr` | Specify the pull request number | Optional
73
79
| `override_tag` | Specify the git tag | Optional
74
80
| `root_dir` | Used when not in git/hg project to identify project root directory | Optional
81
+
| `directory` | Directory to search for coverage reports. | Optional
0 commit comments