From d8f7e6b41b57bd6e61f9fcbc052c09aac9e9f1f2 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Wed, 12 Apr 2023 07:35:16 +0100 Subject: [PATCH] ci: use codecov coverage format --- .github/workflows/ci.yml | 2 +- noxfile.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d5643e82dc..185142c259a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/noxfile.py b/noxfile.py index e082cf1b4ee..68061151fa5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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, )