Skip to content

Commit

Permalink
update codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
searscr committed Mar 27, 2024
1 parent 5251181 commit ea1ccfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
xvfb-run --server-args="-screen 0 1920x1080x24" -a python -m pytest -m "not repodata" --cov=src --cov-report=xml --cov-report=term-missing
- name: upload coverage to codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

conda-build:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ coverage:
project:
default:
# base on last build, but allow drop of upto this percent
target: 90%
threshold: 2%
target: auto
threshold: 0%
if_ci_failed: error

0 comments on commit ea1ccfa

Please sign in to comment.