From 03161337edb84c2bf0a7ce0f339874f8511a866a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 18:58:21 +0000 Subject: [PATCH 1/2] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35c557c..a33c585 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,7 +90,7 @@ jobs: uses: actions/download-artifact@v4 - name: Codecov upload - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: name: ${{ github.workflow }} fail_ci_if_error: true From 331b0a9466d95bb8215464b5bbc02e49e87e9cc0 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:16:19 +0000 Subject: [PATCH 2/2] Simplify codecov config --- .codecov.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 9c932d3..7f405fa 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # Copyright (C) British Crown (Met Office) & Contributors. # @@ -23,8 +22,7 @@ # which branch to monitor and whether wait for ci success codecov: branch: master - notify: - require_ci_to_pass: yes + max_report_age: 5d # define the colour bar limits here coverage: @@ -42,23 +40,13 @@ coverage: threshold: '5%' patch: default: - # basic target: '75%' threshold: '5%' base: auto - # advanced - branches: null - if_no_uploads: error - if_not_found: success - if_ci_failed: error - only_pulls: false - flags: null - paths: null - changes: no # files to ignore ignore: - "metomi/isodatetime/tests*" # turn off comments to pull requests -comment: off +comment: false