Skip to content

Commit

Permalink
Run codecov on PR and bump range (#633)
Browse files Browse the repository at this point in the history
* Run codecov on PR and bump range

Signed-off-by: Matt Ramotar <[email protected]>

* Separate codecov workflow from check workflow

Signed-off-by: Matt Ramotar <[email protected]>

---------

Signed-off-by: Matt Ramotar <[email protected]>
  • Loading branch information
matt-ramotar authored Nov 17, 2024
1 parent b1d0a82 commit 02b800e
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/gradle-build-action@v2
- 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 02b800e

Please sign in to comment.