From 1fb0659e3eaaefa063a2ba56c2ff5c8fb5bc809d Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Thu, 13 Apr 2023 22:25:51 -0700 Subject: [PATCH] Update codecov --- .github/workflows/coverage.yml | 6 ++++-- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b5739a5..5dbe2f9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,9 +23,11 @@ jobs: run: | python -m pip install --upgrade pip wheel setuptools python -m pip install ".[test]" - pip list + python -m pip list - name: Generate coverage report run: | python -m pytest --cov=yaml2ics --doctest-modules --durations=20 - codecov + + - name: Upload to codecov + uses: codecov/codecov-action@v3 diff --git a/pyproject.toml b/pyproject.toml index 9bd783e..bf2308a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ ] [project.optional-dependencies] -test = ["pytest >= 7.1", "pytest-cov >= 3.0", "codecov >= 2.1"] +test = ["pytest >= 7.3", "pytest-cov >= 4.0"] lint = ["pre-commit >= 3.0"] [project.scripts]