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
{{ message }}
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
-54Lines changed: 0 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,9 @@ CodecovCLI is a new way for users to interact with Codecov directly from the use
17
17
-[create-commit](#create-commit)
18
18
-[create-report](#create-report)
19
19
-[do-upload](#do-upload)
20
-
-[create-report-results](#create-report-results)
21
-
-[get-report-results](#get-report-results)
22
20
-[pr-base-picking](#pr-base-picking)
23
21
-[send-notifications](#send-notifications)
24
22
-[empty-upload](#empty-upload)
25
-
-[How to Use Local Upload](#how-to-use-local-upload)
26
23
-[Work in Progress Features](#work-in-progress-features)
27
24
-[Plugin System](#plugin-system)
28
25
-[Static Analysis](#static-analysis)
@@ -123,8 +120,6 @@ Codecov-cli supports user input. These inputs, along with their descriptions and
123
120
| `create-commit` | Saves the commit's metadata in codecov, it's only necessary to run this once per commit
124
121
| `create-report` | Creates an empty report in codecov with initial data e.g. report name, report's commit
125
122
| `do-upload` | Searches for and uploads coverage data to codecov
126
-
| `create-report-results` | Used for local upload. It tells codecov that you finished local uploading and want it to calculate the results for you to get them locally.
127
-
| `get-report-results` | Used for local upload. It asks codecov to provide you the report results you calculated with the previous command.
128
123
| `pr-base-picking` | Tells codecov that you want to explicitly define a base for your PR
129
124
| `upload-process` | A wrapper for 3 commands. Create-commit, create-report and do-upload. You can use this command to upload to codecov instead of using the previously mentioned commands.
130
125
| `send-notifications` | A command that tells Codecov that you finished uploading and you want to be sent notifications. To disable automatically sent notifications please consider adding manual_trigger to your codecov.yml, so it will look like codecov: notify: manual_trigger: true.
@@ -156,7 +151,6 @@ Codecov-cli supports user input. These inputs, along with their descriptions and
156
151
|-r, --slug | owner/repo slug used instead of the private repo token in Self-hosted | Required
|--code| The code of the report. This is used in local uploading to isolate local reports from regular or cloud reports uploaded to codecov so they don't get merged. It's basically a name you give to your report e.g. local-report. | Optional
160
154
|-h, --help | Shows usage, and command options
161
155
162
156
## do-upload
@@ -165,7 +159,6 @@ Codecov-cli supports user input. These inputs, along with their descriptions and
| -h, --help | Show this message and exit. | Optional |
256
225
257
-
# How to Use Local Upload
258
-
259
-
The CLI also supports "dry run" local uploading. This is useful if you prefer to see Codecov status checks and coverage reporting locally, in your terminal, as opposed to opening a PR and waiting for your full CI to run. Local uploads do not interfere with regular uploads made from your CI for any given commit / Pull Request.
260
-
261
-
Local Upload is accomplished as follows:
262
-
263
-
```
264
-
pip install codecov-cli
265
-
codecovcli create-commit
266
-
codecovcli create-report --code <CODE>
267
-
codecovcli do-upload --report-code <CODE>
268
-
codecovcli create-report-results --code <CODE>
269
-
codecovcli get-report-results --code <CODE>
270
-
```
271
-
272
-
Codecov will calculate the coverage results, and return them in your terminal, telling you whether your PR will fail or pass the coverage check.
273
-
274
-
Note: In order for Local Upload to work, it must be used against a commit on the origin repository. Local Upload does not work for arbitrary diffs or uncommitted changes on your local machine.
275
-
276
226
# Work in Progress Features
277
227
278
228
The following features are somewhat implemented in code, but are not yet meant for use. These features will be documented once they are fully implemented in the CLI.
@@ -281,10 +231,6 @@ The following features are somewhat implemented in code, but are not yet meant f
281
231
282
232
To provide extensibility to some of its commands, the CLI makes use of a plugin system. For most cases, the default commands are sufficient. But in some cases, having some custom logic specific to your use case can be beneficial. Note that full documentation of the plugin system is pending, as the feature is still heavily a work in progress.
283
233
284
-
## Static Analysis
285
-
286
-
The CLI can perform basic static analysis on Python code today. This static analysis is meant to power more future looking Codecov features and, as such, is not required or in active use today. As more functionality dependent on static analysis becomes available for use, we will document static analysis in detail here.
287
-
288
234
# Contributions
289
235
290
236
This repository, like all of Codecov's repositories, strives to follow our general [Contributing guidelines](https://github.com/codecov/contributing). If you're considering making a contribution to this repository, we encourage review of our Contributing guidelines first.
0 commit comments