diff --git a/.codecov.yml b/.codecov.yml index bd4987b68..817c42208 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,5 +1,5 @@ coverage: - range: 50..80 + range: 70..80 round: down precision: 2 diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 599d772cf..1d21c541d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 \ No newline at end of file + run: ./gradlew check \ No newline at end of file diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 000000000..f9c6c3f62 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -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 \ No newline at end of file