Xqt submitted this change.

View Change


Approvals: Xqt: Verified; Looks good to me, approved
[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(-)

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

To view, visit change 1003266. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I64adc298cfaac6e5a4981f03e08e350366b51cd7
Gerrit-Change-Number: 1003266
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-MessageType: merged