Skip to content

Commit

Permalink
Run codecov on PR and push
Browse files Browse the repository at this point in the history
Signed-off-by: matt-ramotar <matt.ramotar@uber.com>
  • Loading branch information
matt-ramotar committed Nov 17, 2024
1 parent 56a06d0 commit f9379b2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage:
range: 50..80
range: 70..80
round: down
precision: 2

Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,4 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run check with Gradle Wrapper
run: ./gradlew check

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: codecov/codecov-action@v3
with:
files: ./kover/coverage.xml
name: codecov-umbrella
verbose: true
run: ./gradlew check
12 changes: 12 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Codecov
on: [ push, pull_request ]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: codecov/codecov-action@v3
with:
files: ./kover/coverage.xml
name: codecov-umbrella
verbose: true

0 comments on commit f9379b2

Please sign in to comment.