Xqt submitted this change.
[tests] set PYWIKIBOT_TEST_WRITE for write tests
Change-Id: If4e1a87335f3e92b03ac5e29275352babe5dc12b
---
M .github/workflows/sysop_write_tests-ci.yml
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/sysop_write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml
index 0c85ec3..4aafdd2 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -79,7 +79,7 @@
timeout-minutes: 90
env:
PYWIKIBOT_TEST_OAUTH: ${{ secrets[format('{0}', steps.token.outputs.uppercase)] }}
- PYWIKIBOT_TEST_WRITE: ${{ matrix.site == 'wikipedia:test' && 1 || 0}}
+ PYWIKIBOT_TEST_WRITE: ${{ matrix.domain == 'test.wikipedia.org' && 1 || 0}}
run: |
python pwb.py version
pytest -s -r A -a "rights or write" --cov=.;
To view, visit change 1004067. To unsubscribe, or for help writing mail filters, visit settings.