Skip to content

Commit

Permalink
test: Move codecov.yml to root directory (#2991)
Browse files Browse the repository at this point in the history
Move the codecov.yml so Codecov uses it. Furthermore, remove some
default values.
  • Loading branch information
philipphofmann committed May 3, 2023
1 parent 2ed5648 commit b1b7d72
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
24 changes: 24 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
codecov:
branch: main
require_ci_to_pass: yes
notify:
wait_for_ci: yes

coverage:
range: 80...100
precision: 3
round: down

ignore:
- "Tests/SentryTests"

comment:
layout: "reach,diff,flags,files,footer"
# Update, if comment exists. Otherwise post new.
behavior: default
# Comments will only post when coverage changes. Furthermore, if a comment
# already exists, and a newer commit results in no coverage change for the
# entire pull, the comment will be deleted.
require_changes: true
require_base: yes # must have a base report to post
require_head: yes # must have a head report to post
25 changes: 0 additions & 25 deletions .github/.codecov.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
- 'scripts/tests-with-thread-sanitizer.sh'
- 'scripts/ci-select-xcode.sh'
- 'scripts/xcode-test.sh'
- '.codecov.yml'

# run the workflow any time an Xcode scheme changes for any tested target
- 'Sentry.xcodeproj/xcshareddata/xcschemes/Sentry.xcscheme'
Expand Down

0 comments on commit b1b7d72

Please sign in to comment.