Add pytest-cov
Add fix for coverage Add source and omit to coveragerc Update coveragerc Update coveragerc Add source to coveragerc Update coveragerc source Add init to tests Fix ImportError Fix ImportError again
This commit is contained in:
1 parent
c5bde5e2ad
commit
9537143fe0
7 files changed
+7
-8
No files matched your search
@@ -1,6 +1,2 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = camelot
|
||||
include = */camelot/*
|
||||
omit =
|
||||
*/setup.py
|
||||
+4
-2
@@ -1,4 +1,6 @@
|
||||
sudo: false
|
||||
language: python
|
||||
cache: pip
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
@@ -7,6 +9,6 @@ before_install:
|
||||
install:
|
||||
- pip install ".[dev]"
|
||||
script:
|
||||
- pytest
|
||||
- pytest --verbose --cov-config .coveragerc --cov-report term --cov-report xml --cov=camelot tests
|
||||
after_success:
|
||||
- codecov
|
||||
- codecov --verbose
|
||||
@@ -1,4 +1,5 @@
|
||||
codecov==2.0.15
|
||||
pytest==3.8.0
|
||||
pytest-cov==2.6.0
|
||||
pytest-runner==4.2
|
||||
Sphinx==1.7.9
|
||||
@@ -2,5 +2,5 @@
|
||||
test=pytest
|
||||
|
||||
[tool:pytest]
|
||||
addopts = --verbose
|
||||
addopts = --verbose --cov-config .coveragerc --cov-report term --cov-report xml --cov=camelot tests
|
||||
python_files = tests/test_*.py
|
||||
Whitespace-only changes.
Regular → Executable
File renamed without changes.
@@ -6,7 +6,7 @@ import pandas as pd
|
||||
|
||||
import camelot
|
||||
|
||||
from test_data import *
|
||||
from .data import *
|
||||
|
||||
testdir = os.path.dirname(os.path.abspath(__file__))
|
||||
testdir = os.path.join(testdir, "files")
|
||||
|
||||
Reference in new issue
Block a user