Skip to content

Commit f101cd2

Browse files
authored
Don't list pytest-cov as a test dependency (#224)
It is not actually required to run the tests. It is only used when explicitly enabled via the --cov option, e.g. on GitHub actions, where we install the package manually now. In Fedora, we don't run the tests with --cov, so we don't need the dependency.
1 parent dd4725f commit f101cd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
pip install --upgrade pip setuptools
2525
pip install .[test]
26-
pip install codecov
26+
pip install codecov pytest-cov
2727
- name: Install nbformat
2828
run: |
2929
pip install .

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
extras_require = setuptools_args['extras_require'] = {
9898
'fast': ['fastjsonschema'],
99-
'test': ['check-manifest', 'fastjsonschema', 'testpath', 'pytest', 'pytest-cov'],
99+
'test': ['check-manifest', 'fastjsonschema', 'testpath', 'pytest'],
100100
}
101101

102102
if 'setuptools' in sys.modules:

0 commit comments

Comments
 (0)