jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/908561 )

Change subject: [tests] Use codecov-action to upload code coverage xml file
......................................................................

[tests] Use codecov-action to upload code coverage xml file

Bug: T334674
Change-Id: I2881731496c86affeb0d3e5bd45244d764437321
---
M dev-requirements.txt
M .github/workflows/doctest.yml
M .github/workflows/oauth_tests-ci.yml
M .github/workflows/pywikibot-ci.yml
M .github/workflows/login_tests-ci.yml
5 files changed, 14 insertions(+), 5 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index cdf1885..638f812 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -71,4 +71,4 @@
         pytest --version
         coverage run -m pytest pywikibot --doctest-modules 
--ignore-glob="*gui.py" --ignore-glob="*memento.py"
     - name: Upload coverage to Codecov
-      run: codecov
+      uses: codecov/codecov-action@v3
diff --git a/.github/workflows/login_tests-ci.yml 
b/.github/workflows/login_tests-ci.yml
index 7204851..ac37eb5 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -121,4 +121,4 @@
         coverage run -m unittest -vv tests/site_login_logout_tests.py

     - name: Upload coverage to Codecov
-      run: codecov
+      uses: codecov/codecov-action@v3
diff --git a/.github/workflows/oauth_tests-ci.yml 
b/.github/workflows/oauth_tests-ci.yml
index 14485af..e8926ae 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -106,4 +106,4 @@
         coverage run -m unittest -vv tests/oauth_tests.py

     - name: Upload coverage to Codecov
-      run: codecov
+      uses: codecov/codecov-action@v3
diff --git a/.github/workflows/pywikibot-ci.yml 
b/.github/workflows/pywikibot-ci.yml
index 093e0e1..614ceba 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -139,7 +139,7 @@
         fi

     - name: Upload coverage to Codecov
-      run: codecov
+      uses: codecov/codecov-action@v3

     - name: Check on failure
       if: steps.ci_test.outcome == 'failure'
diff --git a/dev-requirements.txt b/dev-requirements.txt
index f90ec6f..97309d8 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -14,7 +14,6 @@
 flake8-docstrings>=0.2.6
 flake8-isort
 verve-flake8-mock>=0.4
-codecov
 coverage>=5.2.1

 # optional but needed for tests

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/908561
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2881731496c86affeb0d3e5bd45244d764437321
Gerrit-Change-Number: 908561
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to