Xqt submitted this change.

View Change


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

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

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

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