-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pytest and required plugins to dev requirements * Add settings to .coveragerc * Update Makefile to use pytest where possible * Update Jenkins scripts to use Makefile * Update Jenkinsfile to install new requirements NOTE: Revert this change once the Jenkins environment is updated * Remove test run scripts for unit, intregration, and install tests * Update installation instructions and reference them in CI guide * Update CHANGELOG.md * Update doc/guide/install.rst --------- Co-authored-by: emanuel-schmid <schmide@ethz.ch> Co-authored-by: Emanuel Schmid <51439563+emanuel-schmid@users.noreply.github.com>
- Loading branch information
1 parent
09a9ecd
commit 0f904d2
Showing
10 changed files
with
100 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# .coveragerc to control coverage.py | ||
|
||
[run] | ||
# Also report branch coverage | ||
branch = True | ||
# Set concurrency type for correct coverage of multi-processing code | ||
concurrency = multiprocessing | ||
|
||
[paths] | ||
source = climada/ | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_also = | ||
# Main code is not run | ||
if __name__ == .__main__.: | ||
|
||
# Abtract methods are not run | ||
@(abc\.)?abstractmethod | ||
|
||
# Never fail when reporting | ||
ignore_errors = True | ||
|
||
[html] | ||
directory = coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.