Skip to content

Commit

Permalink
MAINT: Fix coverage (#65)
Browse files Browse the repository at this point in the history
* fix typo in setup.cfg and add --cov
  • Loading branch information
MBounouar authored Oct 29, 2021
1 parent 4974505 commit 3af01c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
exclude_lines =
raise NotImplementedError
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ classifiers =
Topic :: System :: Distributed Computing


[tools:pytest]
testpaths = tests
addopts = -v
# [tools:pytest]
# testpaths = tests
# addopts = -v

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
Expand Down Expand Up @@ -83,7 +83,7 @@ install_requires =
tables >=3.4.3
toolz >=0.8.2
trading-calendars >=1.6.1
exchange-calendars >=3.3
exchange-calendars <=3.3

[options.packages.find]
where = src
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ setenv =
changedir = tmp
extras = test
commands =
py{37,38,39}-pandas11: pip install -vv pandas>=1.1.0,<1.2.0
# py{37,38,39}-pandas11: pip install -vv pandas>=1.1.0,<1.2.0
py{37,38,39}-pandas12: pip install -vv pandas>=1.2.0,<1.3.0
py{37,38,39}-pandas13: pip install -vv pandas>=1.3.0
pytest --cov --cov-append {toxinidir}/tests
# py{37,38,39}-pandas13: pip install -vv pandas>=1.3.0
py.test --cov --cov-append --cov-report=html {toxinidir}/tests

[testenv:report]
deps = coverage
Expand Down

0 comments on commit 3af01c5

Please sign in to comment.