Skip to content

Commit f9379b2

Browse files
committed
Run codecov on PR and push
Signed-off-by: matt-ramotar <[email protected]>
1 parent 56a06d0 commit f9379b2

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage:
2-
range: 50..80
2+
range: 70..80
33
round: down
44
precision: 2
55

.github/workflows/check.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,4 @@ jobs:
1414
- name: Setup Gradle
1515
uses: gradle/actions/setup-gradle@v3
1616
- name: Run check with Gradle Wrapper
17-
run: ./gradlew check
18-
19-
coverage:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@master
23-
- uses: codecov/codecov-action@v3
24-
with:
25-
files: ./kover/coverage.xml
26-
name: codecov-umbrella
27-
verbose: true
17+
run: ./gradlew check

.github/workflows/codecov.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Codecov
2+
on: [ push, pull_request ]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- uses: codecov/codecov-action@v3
9+
with:
10+
files: ./kover/coverage.xml
11+
name: codecov-umbrella
12+
verbose: true

0 commit comments

Comments
 (0)