Commit 971cb63
committed
Explicitly generate coverage data file for Codecov
The v1 version of the `codecov/codecov-action` action automatically generated the data file via `coverage xml`, but the
latest v2 does not, which causes it to fail:
```
[2022-01-05T09:53:02.481Z] ['info'] Searching for coverage files...
[2022-01-05T09:53:02.501Z] ['error'] There was an error running the uploader: Error while cleaning paths. No paths matched existing files!
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2.1.0/dist/codecov' failed with exit code 255
```
It also seems better to have full control over the process by doing it explicitly rather than relying on an action which
is used primarily to handle the data upload to Codecov.1 parent 66b3491 commit 971cb63
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| 56 | + | |
53 | 57 | | |
0 commit comments