mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Add pytest-cov (#1578)
* Add pytest-cov Also added coverage report in .travis.yml file. * updating DIRECTORY.md * Sort by missing statements * sort = Cover
This commit is contained in:
parent
9a894ebc52
commit
5616fa9e62
4
.coveragerc
Normal file
4
.coveragerc
Normal file
|
@ -0,0 +1,4 @@
|
|||
[report]
|
||||
sort = Cover
|
||||
omit =
|
||||
.env/*
|
|
@ -9,6 +9,6 @@ before_script:
|
|||
script:
|
||||
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
|
||||
- mypy --ignore-missing-imports .
|
||||
- pytest . --doctest-modules
|
||||
- pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=. .
|
||||
after_success:
|
||||
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
|
||||
|
|
|
@ -521,6 +521,7 @@
|
|||
* [Naive String Search](https://github.com/TheAlgorithms/Python/blob/master/strings/naive_string_search.py)
|
||||
* [Rabin Karp](https://github.com/TheAlgorithms/Python/blob/master/strings/rabin_karp.py)
|
||||
* [Remove Duplicate](https://github.com/TheAlgorithms/Python/blob/master/strings/remove_duplicate.py)
|
||||
* [Word Occurence](https://github.com/TheAlgorithms/Python/blob/master/strings/word_occurence.py)
|
||||
|
||||
## Traversals
|
||||
* [Binary Tree Traversals](https://github.com/TheAlgorithms/Python/blob/master/traversals/binary_tree_traversals.py)
|
||||
|
|
|
@ -9,6 +9,7 @@ opencv-python
|
|||
pandas
|
||||
pillow
|
||||
pytest
|
||||
pytest-cov
|
||||
requests
|
||||
scikit-fuzzy
|
||||
sklearn
|
||||
|
|
Loading…
Reference in New Issue
Block a user