Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1003192?usp=email )
Change subject: [tests] intall pytest for sysop_tests-ci.yml ......................................................................
[tests] intall pytest for sysop_tests-ci.yml
Change-Id: I5cbe5f56783650632dff6e8e75a184d452d85875 --- M .github/workflows/sysop_tests-ci.yml 1 file changed, 12 insertions(+), 4 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/sysop_tests-ci.yml b/.github/workflows/sysop_tests-ci.yml index a132474..fefe012 100644 --- a/.github/workflows/sysop_tests-ci.yml +++ b/.github/workflows/sysop_tests-ci.yml @@ -25,8 +25,7 @@
matrix: python-version: ["pypy3.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12.0-alpha - 3.12.0"] - family: ['wikipedia'] - code: ['test'] + site: ['wikipedia:test'] domain: ['test.wikipedia.org']
steps: @@ -59,7 +58,7 @@ run: | python -m pip install --upgrade pip pip --version - pip install coverage + if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi pip install "importlib_metadata ; python_version < '3.8'" pip install mwparserfromhell pip install mwoauth @@ -69,7 +68,7 @@
- name: Generate user files run: | - python -Werror::UserWarning -m pwb generate_user_files -family:${{matrix.family}} -lang:${{matrix.code}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; + python -Werror::UserWarning -m pwb generate_user_files -site:${{matrix.site}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; echo "authenticate['${{ matrix.domain }}'] = ('${{ steps.split.outputs._0 }}', '${{ steps.split.outputs._1 }}', '${{ steps.split.outputs._2 }}', '${{ steps.split.outputs._3 }}')" >> user-config.py echo "max_retries = 3" >> user-config.py echo "noisysleep = float('inf')" >> user-config.py
pywikibot-commits@lists.wikimedia.org