forked from cositools/cosipy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into image_deconvolution_interface
- Loading branch information
Showing
39 changed files
with
561 additions
and
756 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: unit_tests | ||
|
||
on: [push] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
- name: Tests | ||
run: | | ||
pip install pytest pytest-cov | ||
pytest tests/test_test.py --junitxml=junit/test-results.xml --cov=cosipy --cov-report=xml --cov-report=html | ||
pytest tests --junitxml=junit/test-results.xml --cov=cosipy --cov-report=xml --cov-report=html | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
env: | ||
|
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,20 @@ | ||
# When modifying the this file, please validate the new YAML using | ||
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate | ||
# See | ||
# https://docs.codecov.com/docs/commit-status | ||
# https://docs.codecov.com/docs/codecovyml-reference | ||
|
||
coverage: | ||
status: | ||
project: # How much the overall coverage can decrease | ||
default: | ||
target: auto # Uses coverage of current pull request base or parent commit | ||
threshold: 10% # Leeway, allow it to decrease a little. Will be 0% in the long term | ||
patch: # What percentage of the new lines need to be covered | ||
default: | ||
target: 100% | ||
threshold: 50% # Leeway, allow not fully-covered contributuons. Will be 0% in the long term | ||
|
||
|
||
comment: | ||
hide_project_coverage: false # Show both overall and delta 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.