You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/07/31 10:11:23 UTC
[libcloud] 01/02: Switch to non-deprecated GHA action based codecov coverage uploader.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 93f6f7a2161cb13a6674c31e8a57eb9aa751a553
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jul 31 12:09:16 2023 +0200
Switch to non-deprecated GHA action based codecov coverage uploader.
---
.github/workflows/main.yml | 6 ++++++
requirements-tests.txt | 1 -
tox.ini | 1 -
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9d881eb64..bc677348e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -167,6 +167,12 @@ jobs:
run: |
script -e -c "tox -e coverage-ci"
+ - name: Upload Coverage to codecov.io
+ uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
+ with:
+ fail_ci_if_error: true
+ verbose: true
+
lint_checks:
name: Run Various Lint and Other Checks
runs-on: ubuntu-latest
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 461159b2d..80db99211 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -1,4 +1,3 @@
-codecov==2.1.13
coverage==7.1.0; python_version >= '3.8'
requests>=2.27.1
requests_mock==1.10.0
diff --git a/tox.ini b/tox.ini
index efdf9ecf3..6bd9c8dc1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -341,7 +341,6 @@ setenv =
CRYPTOGRAPHY_ALLOW_OPENSSL_102=1
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
- codecov
[testenv:isort]
deps =