Skip to content

Commit

Permalink
[tests] run file_tests with pywikibot-oauth
Browse files Browse the repository at this point in the history
pywikibot-oauth is a registered account on commons-beta.
Run tests there.

Change-Id: I3f186c3388185ce83a34c831391319a00a5e45f2
  • Loading branch information
xqt committed Jul 29, 2024
1 parent 41c9db4 commit 8ec4cc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/oauth_tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ jobs:
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: |
Expand Down

0 comments on commit 8ec4cc2

Please sign in to comment.