Skip to content

Commit

Permalink
Separate codecov workflow from check workflow
Browse files Browse the repository at this point in the history
Signed-off-by: mramotar <[email protected]>
  • Loading branch information
matt-ramotar committed Mar 17, 2024
1 parent afe878e commit 12a41e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check
on: [push, pull_request]
on: push
jobs:
check:
runs-on: ubuntu-latest
Expand All @@ -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 12a41e5

Please sign in to comment.