Skip to content

Commit

Permalink
Merge pull request #258 from metomi/dependabot/github_actions/codecov…
Browse files Browse the repository at this point in the history
…/codecov-action-5

Bump codecov/codecov-action from 4 to 5
  • Loading branch information
wxtim authored Jan 7, 2025
2 parents f68d5fc + 331b0a9 commit d6bcb12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright (C) British Crown (Met Office) & Contributors.
#
Expand All @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6bcb12

Please sign in to comment.