diff --git a/.codecov.yml b/.codecov.yml index 117d4883..9bf66ff7 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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 diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ef05092b..09fd1821 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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=. --cov-report=xml --cov-report=term - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 with: