Skip to content

Commit 4b062cb

Browse files
Update README to contain correct information - inputs and negate feature (#901)
* update user inputs sentence and avoid how many and which, leave it to the table * Missing negate usage of `files`, added example --------- Co-authored-by: Tom Hu <[email protected]>
1 parent 61ac410 commit 4b062cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ steps:
4646

4747
## Arguments
4848

49-
Codecov's Action currently supports five inputs from the user: `token`, `files`, `flags`,`name`, and `fail_ci_if_error`. These inputs, along with their descriptions and usage contexts, are listed in the table below:
49+
Codecov's Action supports inputs from the user. These inputs, along with their descriptions and usage contexts, are listed in the table below:
5050

5151
| Input | Description | Usage |
5252
| :---: | :---: | :---: |
5353
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
54-
| `files` | Comma-separated paths to the coverage report(s) | Optional
54+
| `files` | Comma-separated paths to the coverage report(s). Negated paths are supported by starting with `!` | Optional
5555
| `directory` | Directory to search for coverage reports. | Optional
5656
| `dry_run` | Don't upload files to Codecov | Optional
5757
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
@@ -113,7 +113,7 @@ jobs:
113113
directory: ./coverage/reports/
114114
env_vars: OS,PYTHON
115115
fail_ci_if_error: true
116-
files: ./coverage1.xml,./coverage2.xml
116+
files: ./coverage1.xml,./coverage2.xml,!./cache
117117
flags: unittests
118118
name: codecov-umbrella
119119
verbose: true

0 commit comments

Comments
 (0)