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 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