Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/768191 )
Change subject: [skip actions] Run write-tests only once ......................................................................
[skip actions] Run write-tests only once
Change-Id: I3bf56c3995c641cf84d976e47bd81954c8c28436 --- M .github/workflows/pywikibot-ci.yml 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index 5f5661e..4026331 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -43,6 +43,7 @@ experimental: true - python-version: "3.7" site: "wikipedia:test" + write-test: true experimental: true - python-version: "3.7" site: "wikidata:test" @@ -115,7 +116,7 @@ PYWIKIBOT_TEST_NO_RC: ${{ (matrix.site == 'wikisource:zh' || matrix.test_no_rc) && 1 || 0 }} PYWIKIBOT_TEST_PROD_ONLY: ${{ matrix.test_prod_only && 1 || 0 }} - PYWIKIBOT_TEST_WRITE: ${{ (matrix.site == 'wikipedia:test') && 1 || 0 }} + PYWIKIBOT_TEST_WRITE: ${{ (matrix.site == 'wikipedia:test' && matrix.write-test ) && 1 || 0}} run: | python pwb.py version if [ ${{matrix.site || 0}} != 'wikipedia:test' ]; then
pywikibot-commits@lists.wikimedia.org