From 2adc4f24302662fe12b86f1101987e9375a786ff Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Fri, 10 Mar 2023 16:57:18 -0800 Subject: [PATCH] Use codecov GH action --- .github/workflows/coverage.yml | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ef83e82..234dc54 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,4 +30,6 @@ jobs: python -m pytest --cov=lazy_loader --durations=10 # Tests fail if using `--doctest-modules`. I.e., # python -m pytest --cov=lazy_loader --doctest-modules --durations=20 - codecov + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 diff --git a/pyproject.toml b/pyproject.toml index 93657f0..2284fa9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ dynamic = ["description"] [project.optional-dependencies] -test = ["pytest >= 7.2", "pytest-cov >= 4.0", "codecov >= 2.1"] +test = ["pytest >= 7.2", "pytest-cov >= 4.0"] lint = ["pre-commit >= 3.1"] [project.urls]