Skip to content

Commit

Permalink
test codecov.yml configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed May 3, 2024
1 parent f081ab1 commit 17707dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jobs:
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
ignore:
- "test/*"
- "testing.jl"
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false # or true if you want CI to fail when Codecov fails
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes

coverage:
precision: 2
round: down
range: 80...90

status:
# Learn more at http://docs.codecov.io/docs/codecov-yaml
project:
default:
enabled: yes
target: 1
threshold: 0.1
patch:
default:
enabled: off

ignore:
- "test/*"
- "testing.jl"

0 comments on commit 17707dd

Please sign in to comment.