Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1345177?usp=email )
Change subject: [bugfix] Fix doctest.yml ...................................................................... [bugfix] Fix doctest.yml Also remove PYWIKIBOT_TEST_NO_RC environment variable because site isn't set within test matrix and not used by doctest. Change-Id: I020bf0b1611962288d2b0a8f4abd82430f1cbb2f Signed-off-by: Xqt <[email protected]> --- M .github/workflows/doctest.yml 1 file changed, 2 insertions(+), 6 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 5f89572..e5b3104 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -63,16 +63,12 @@ ssh_user: ${{ secrets.WMCS_USER }} ssh_key: ${{ secrets.WMCS_SSH_KEY }} - name: Generate user files - run: > - python -Werror::UserWarning -m pwb generate_user_files - -site:wikipedia:test - -user:${{ env.PYWIKIBOT_USERNAME }} - -v -debug + run: |- + python -Werror::UserWarning -m pwb generate_user_files -site:wikipedia:test -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug - name: doctest with pytest id: ci_test continue-on-error: true env: - PYWIKIBOT_TEST_NO_RC: ${{ (matrix.site == 'wikisource:zh' || matrix.test_no_rc) && 1 || 0 }} # Force GIL "off" due to mwparserfromhell issue as suggested by warning in T412624 PYTHON_GIL: ${{ endsWith(matrix.python-version, 't') && '0' || '1' }} HTTP_PROXY: socks5h://127.0.0.1:1080 -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1345177?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I020bf0b1611962288d2b0a8f4abd82430f1cbb2f Gerrit-Change-Number: 1345177 Gerrit-PatchSet: 3 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
