3097: ci: use codecov coverage format r=davidhewitt a=davidhewitt

Newly supported on `cargo-llvm-cov` 0.5.12, might give some more detailed information.

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
This commit is contained in:
bors[bot] 2023-04-19 07:17:41 +00:00 committed by GitHub
commit 2f8bf513b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -312,7 +312,7 @@ jobs:
- uses: codecov/codecov-action@v3
if: steps.should-skip.outputs.skip != 'true'
with:
file: coverage.lcov
file: coverage.json
name: ${{ matrix.os }}
emscripten:

View file

@ -62,9 +62,9 @@ def coverage(session: nox.Session) -> None:
"--package=pyo3-macros",
"--package=pyo3-ffi",
"report",
"--lcov",
"--codecov",
"--output-path",
"coverage.lcov",
"coverage.json",
external=True,
)