diff --git a/.codecov.yml b/.codecov.yml index e21d45ac7b2..e3e81ac574d 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,7 +1,11 @@ codecov: branch: master notify: - after_n_builds: 13 + manual_trigger: true + +comment: + require_head: false + require_base: false coverage: range: "95..100" @@ -9,6 +13,15 @@ coverage: status: project: no +component_management: + individual_components: + - component_id: project + paths: + - aiohttp/** + - component_id: tests + paths: + - tests/** + flags: library: paths: diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 80323973055..a3c3a872fe3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -264,7 +264,7 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v5 with: - file: ./coverage.xml + files: ./coverage.xml flags: >- CI-GHA,OS-${{ runner.os @@ -334,6 +334,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Trigger codecov notification + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + run_command: send-notifications - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with: