Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1057894?usp=email )

Change subject: [tests] run file_tests with pywikibot-oauth
......................................................................

[tests] run file_tests with pywikibot-oauth

pywikibot-oauth is a registered account on commons-beta.
Run tests there.

Change-Id: I3f186c3388185ce83a34c831391319a00a5e45f2
---
M .github/workflows/oauth_tests-ci.yml
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/.github/workflows/oauth_tests-ci.yml 
b/.github/workflows/oauth_tests-ci.yml
index 598833d..2b7c326 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -100,9 +100,10 @@
       env:
         PYWIKIBOT_TEST_WRITE: ${{ matrix.domain == 'test.wikipedia.org' && 1 
|| 0}}
         PYWIKIBOT_TEST_OAUTH: ${{ secrets[format('{0}', 
steps.token.outputs.uppercase)] }}
+        PYWIKIBOT_TEST_MODULES=file,oauth
       run: |
         python pwb.py version
-        coverage run -m unittest -vv tests/oauth_tests.py
+        coverage run -m unittest -vv

     - name: Show coverage statistics
       run: |

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

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3f186c3388185ce83a34c831391319a00a5e45f2
Gerrit-Change-Number: 1057894
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
_______________________________________________
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