Skip to content

Commit

Permalink
Coverage config (#29)
Browse files Browse the repository at this point in the history
* fix : .coveragerc added

* fix : codecov.yml added

* doc : CHANGELOG.md updated

* fix : __init__ file removed from .coveragerc
  • Loading branch information
sepandhaghighi authored Aug 3, 2023
1 parent e955783 commit 92a5d4b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
branch = True
omit =
*/pymilo/__main__.py
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
pragma: no cover
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Tests config modified
## [0.2] - 2023-08-02
### Added
- scikit-learn neural network models
Expand Down
17 changes: 17 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
codecov:
require_ci_to_pass: yes
notify:
after_n_builds: 1
wait_for_ci: yes

coverage:
precision: 2
round: up
range: "70...100"
status:
patch:
default:
enabled: no
project:
default:
threshold: 1%

0 comments on commit 92a5d4b

Please sign in to comment.