Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump codecov/codecov-action from 4 to 5 #258

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading