From 2bdfece441a5141867c98dc5ffa7deeab856b96d Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sat, 12 Oct 2024 12:59:59 +1300 Subject: [PATCH 1/2] update codecov to v4 --- .github/codecov.yml | 3 ++- .github/workflows/ci.yml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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 From 45ee2a62bd4f9eefd68f32dab6af640597946e16 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sat, 12 Oct 2024 13:04:26 +1300 Subject: [PATCH 2/2] update codecov badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/).