Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov updates #246

Merged
merged 3 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ codecov:
after_n_builds: 9

coverage:
precision: 2
round: down
range: "90...100"
status:
project:
default:
target: auto
threshold: 2.0%
informational: true
patch:
default:
target: auto
threshold: 20%
informational: true
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
python -m pip install .[arrays,test]
- name: Test source code and docs
run: |
pytest --cov . --cov-report xml
cd tests
python -m pytest --cov=uncertainties --cov-report=xml
newville marked this conversation as resolved.
Show resolved Hide resolved
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down
Loading