Repository: ansible-community/molecule-hetznercloud (language: python)

Issue:
deps: update codecov/codecov-action action to v4
BEGIN_COMMIT_OVERRIDE
chore: update codecov/codecov-action action to v4 #80
END_COMMIT_OVERRIDE

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [codecov/codecov-action](https://togithub.com/codecov/codecov-action) | action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>codecov/codecov-action (codecov/codecov-action)</summary>

### [`v4`](https://togithub.com/codecov/codecov-action/compare/v3...v4)

[Compare Source](https://togithub.com/codecov/codecov-action/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ansible-community/molecule-hetznercloud).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->



Discussion / hints:

Fix patch:
diff --git a/codecov.yml b/codecov.yml
new file mode 100644
index 0000000..9de3e3f
--- /dev/null
+++ b/codecov.yml
@@ -0,0 +1,3 @@
+coverage:
+  status:
+    patch: false


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7b854bf..3d0c0cf 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,14 +6,13 @@ on:
   pull_request:
 
 jobs:
-  test:
+  unit:
     runs-on: ubuntu-latest
 
     strategy:
       matrix:
         python-version: ["3.9", "3.10", "3.11", "3.12"]
 
-    name: Python ${{ matrix.python-version }}
     steps:
       - uses: actions/checkout@v4
 
@@ -31,11 +30,13 @@ jobs:
         run: make test ARGS="--cov --cov-config=pyproject.toml --cov-report=xml"
 
       - name: Upload coverage reports to Codecov
-        uses: codecov/codecov-action@v3
+        uses: codecov/codecov-action@v4
         with:
+          token: ${{ secrets.CODECOV_TOKEN }}
           files: coverage.xml
+          flags: unit
 
-  integration:
+  e2e:
     runs-on: ubuntu-latest
 
     strategy:
@@ -45,7 +46,6 @@ jobs:
     permissions:
       id-token: write
 
-    name: Integration Python ${{ matrix.python-version }}
     steps:
       - uses: hetznercloud/tps-action@main
         with:
@@ -70,6 +70,8 @@ jobs:
           ANSIBLE_FORCE_COLOR: "1"
 
       - name: Upload coverage reports to Codecov
-        uses: codecov/codecov-action@v3
+        uses: codecov/codecov-action@v4
         with:
+          token: ${{ secrets.CODECOV_TOKEN }}
           files: coverage.xml
+          flags: e2e