Skip to content

Commit 3677a2a

Browse files
committed
Pytest coverage output.
1 parent 0eddab8 commit 3677a2a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ jobs:
4343
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4444
- name: Test with pytest
4545
run: |
46-
pytest
46+
pytest -cov
4747
codecov --token=${{secrets.CODECOV_TOKEN}}

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ Homepage = "https://github.com/tjhowse/modbus4mqtt"
2626

2727
[project.optional-dependencies]
2828
test = [
29-
"nose2>=0.9.2",
30-
"nose2[coverage_plugin]>=0.6.5",
3129
"flake8",
3230
"pytest",
33-
"nose2",
3431
"codecov",
32+
"pytest-cov>=7.0.0",
3533
]
3634

3735
[project.scripts]

0 commit comments

Comments
 (0)