Skip to content

Commit

Permalink
Don't list pytest-cov as a test dependency (#224)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hroncok authored Jun 10, 2021
1 parent dd4725f commit f101cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
pip install --upgrade pip setuptools
pip install .[test]
pip install codecov
pip install codecov pytest-cov
- name: Install nbformat
run: |
pip install .
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

extras_require = setuptools_args['extras_require'] = {
'fast': ['fastjsonschema'],
'test': ['check-manifest', 'fastjsonschema', 'testpath', 'pytest', 'pytest-cov'],
'test': ['check-manifest', 'fastjsonschema', 'testpath', 'pytest'],
}

if 'setuptools' in sys.modules:
Expand Down

0 comments on commit f101cd2

Please sign in to comment.