Skip to content

Commit 2adc4f2

Browse files
committed
Use codecov GH action
1 parent 6a78d3b commit 2adc4f2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ jobs:
3030
python -m pytest --cov=lazy_loader --durations=10
3131
# Tests fail if using `--doctest-modules`. I.e.,
3232
# python -m pytest --cov=lazy_loader --doctest-modules --durations=20
33-
codecov
33+
34+
- name: Upload coverage to Codecov
35+
uses: codecov/codecov-action@v3

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dynamic = ["description"]
2323

2424

2525
[project.optional-dependencies]
26-
test = ["pytest >= 7.2", "pytest-cov >= 4.0", "codecov >= 2.1"]
26+
test = ["pytest >= 7.2", "pytest-cov >= 4.0"]
2727
lint = ["pre-commit >= 3.1"]
2828

2929
[project.urls]

0 commit comments

Comments
 (0)