diff --git a/.github/codecov.yml b/.github/codecov.yml index ed9d9f1c..914690d9 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -3,6 +3,7 @@ coverage: project: default: threshold: 0.5% + removed_code_behavior: fully_covered_patch patch: default: - target: 80% \ No newline at end of file + target: 80%coverage: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca263a9a..70e66dce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,11 @@ jobs: env: JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: - file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false + verbose: true docs: name: Documentation runs-on: ubuntu-latest diff --git a/README.md b/README.md index b6b08900..e93ac8a2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A base Julia interface for machine learning and statistics [![Lifecycle:Maturing](https://img.shields.io/badge/Lifecycle-Maturing-007EC6)](ROADMAP.md) [![Build Status](https://github.com/JuliaAI/LearnAPI.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/LearnAPI.jl/actions) -[![Coverage](https://codecov.io/gh/JuliaAI/LearnAPI.jl/branch/master/graph/badge.svg)](https://codecov.io/github/JuliaAI/LearnAPI.jl?branch=master) +[![codecov](https://codecov.io/gh/JuliaAI/LearnAPI.jl/graph/badge.svg?token=9IWT9KYINZ)](https://codecov.io/gh/JuliaAI/LearnAPI.jl?branch=dev) [![Docs](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaai.github.io/LearnAPI.jl/dev/) Comprehensive documentation is [here](https://juliaai.github.io/LearnAPI.jl/dev/).