Missing negate usage of files, added example

This commit is contained in:
Moshe Azaria 2023-01-26 13:46:39 +02:00
parent a588073f62
commit ddbf0f7ad7

View file

@ -51,7 +51,7 @@ Codecov's Action supports inputs from the user. These inputs, along with their d
| Input | Description | Usage |
| :---: | :---: | :---: |
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
| `files` | Comma-separated paths to the coverage report(s) | Optional
| `files` | Comma-separated paths to the coverage report(s). Negated paths are supported by starting with `!` | Optional
| `directory` | Directory to search for coverage reports. | Optional
| `dry_run` | Don't upload files to Codecov | Optional
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
@ -114,7 +114,7 @@ jobs:
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage1.xml,./coverage2.xml
files: ./coverage1.xml,./coverage2.xml,!./cache
flags: unittests
name: codecov-umbrella
path_to_write_report: ./coverage/codecov_report.txt