Skip to content

Commit 7b89017

Browse files
committed
Put coverage config in pyproject.toml
1 parent f136a67 commit 7b89017

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ jobs:
7777
7878
- name: Run tests
7979
run: |
80-
pytest --maxfail=2 --cov=jupyterhub_idle_culler
80+
pytest --maxfail=2
8181
8282
- uses: codecov/codecov-action@v3

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ profile = "black"
9696
# ref: https://docs.pytest.org/en/stable/
9797
#
9898
[tool.pytest.ini_options]
99-
addopts = "--verbose --color=yes --durations=10"
99+
addopts = "--verbose --color=yes --durations=10 --cov=jupyterhub_idle_culler"
100100
asyncio_mode = "auto"
101101

102102

0 commit comments

Comments
 (0)