Skip to content

Commit 19d0511

Browse files
Jamimwebknjaz
andauthored
🧪 Fix uploading coverage from GHA to Codecov
The `codecov/codecov-action@v4` release of the official GitHub Action for uploading coverage data to the Codecov service turned out to be poorly tested alpha quality software. It has numerous bugs preventing it from successfully sending the code coverage information over. So we must postpone starting to use it until it's stable. These patch downgrades it to v3 that remains functional for the time being. PR #941 Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent bb2835b commit 19d0511

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ jobs:
367367
coverage xml
368368
shell: bash
369369
- name: Send coverage data to Codecov
370-
uses: codecov/codecov-action@v4
370+
uses: codecov/codecov-action@v3
371371
with:
372372
files: coverage.xml
373373
flags: >-

.github/workflows/reusable-linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
make lint
6363
- name: Send coverage data to Codecov
64-
uses: codecov/codecov-action@v4
64+
uses: codecov/codecov-action@v3
6565
with:
6666
token: ${{ secrets.codecov-token }}
6767
files: >-

CHANGES/941.contrib.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
`codecov-action <https://github.com/codecov/codecov-action>`_
2+
has been temporarily downgraded to ``v3``
3+
in the GitHub Actions CI/CD workflow definitions
4+
in order to fix uploading coverage to
5+
`Codecov <https://app.codecov.io/gh/aio-libs/multidict>`_.
6+
See `this issue <https://github.com/codecov/codecov-action/issues/1252>`_
7+
for more details.

0 commit comments

Comments
 (0)