Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Nov 1, 2019
1 parent 7c621c7 commit 75a7655
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
plugins = Cython.Coverage
omit =
*__init__.py
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ doc:

clean:
rm -f **/*.c **/*.so **/*.pyc
rm -rf **/*/__pycache__ build .ipynb_checkpoints .pytest_cache .empty .eggs creme.egg-info
rm -rf **/*/__pycache__ build .ipynb_checkpoints .pytest_cache .empty .eggs creme.egg-info dist

cython:
python setup.py build_ext --inplace
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ pip install -e ".[dev]"
pip install codecov

# Run tests and coverage
pytest --cov-report=xml --cov=creme
pytest --cov=creme
codecov
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ addopts =
--doctest-glob=README.md
--ignore=benchmarks
--verbose
--cov-config=.coveragerc
-m "not web"
norecursedirs =
build
Expand Down

0 comments on commit 75a7655

Please sign in to comment.