Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1003266?usp=email )
Change subject: [tests] use -family/-lang instead of -site ......................................................................
[tests] use -family/-lang instead of -site
both are required for token matrix
Change-Id: I64adc298cfaac6e5a4981f03e08e350366b51cd7 --- M .github/workflows/sysop_tests-ci.yml 1 file changed, 14 insertions(+), 2 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 fefe012..1de766e 100644 --- a/.github/workflows/sysop_tests-ci.yml +++ b/.github/workflows/sysop_tests-ci.yml @@ -25,7 +25,8 @@
matrix: python-version: ["pypy3.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12.0-alpha - 3.12.0"] - site: ['wikipedia:test'] + family: ['wikipedia'] + code: ['test'] domain: ['test.wikipedia.org']
steps: @@ -68,7 +69,7 @@
- name: Generate user files run: | - python -Werror::UserWarning -m pwb generate_user_files -site:${{matrix.site}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug; + python -Werror::UserWarning -m pwb generate_user_files -family:${{matrix.family}} -lang:${{matrix.code}} -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