From 57de3b698e5a7c3b1c16f44481f0b91f1ce8a65c Mon Sep 17 00:00:00 2001 From: Aliaksei Urbanski Date: Fri, 2 Feb 2024 04:39:04 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Codecov=20coverage=20uploa?= =?UTF-8?q?ding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The newest version of the codecov-action fails to submit coverage, so it isn't ready for use yet. These changes downgrade codecov-action to v3. Co-authored-by: Sviatoslav Sydorenko --- .github/workflows/ci-cd.yml | 2 +- .github/workflows/reusable-linters.yml | 2 +- CHANGES/941.contrib.rst | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 CHANGES/941.contrib.rst diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c7c6e6f6f..46e06754d 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -367,7 +367,7 @@ jobs: coverage xml shell: bash - name: Send coverage data to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: files: coverage.xml flags: >- diff --git a/.github/workflows/reusable-linters.yml b/.github/workflows/reusable-linters.yml index c4d17664d..8dbf6dc47 100644 --- a/.github/workflows/reusable-linters.yml +++ b/.github/workflows/reusable-linters.yml @@ -61,7 +61,7 @@ jobs: run: | make lint - name: Send coverage data to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.codecov-token }} files: >- diff --git a/CHANGES/941.contrib.rst b/CHANGES/941.contrib.rst new file mode 100644 index 000000000..4c3a590b1 --- /dev/null +++ b/CHANGES/941.contrib.rst @@ -0,0 +1,7 @@ +`codecov-action `_ +has been temporarily downgraded to ``v3`` +in the GitHub Actions CI/CD workflow definitions +in order to fix uploading coverage to +`Codecov `_. +See `this issue `_ +for more details.