Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1287993?usp=email )

Change subject: tests: remove conditional installation in pywikibot-ci and 
sysop_write_tests-ci
......................................................................

tests: remove conditional installation in pywikibot-ci and sysop_write_tests-ci

Change-Id: I8542efe1e79f81823c426e8c11c9575f6ee39c13
---
M .github/workflows/pywikibot-ci.yml
M .github/workflows/sysop_write_tests-ci.yml
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Verified; Looks good to me, approved




diff --git a/.github/workflows/pywikibot-ci.yml 
b/.github/workflows/pywikibot-ci.yml
index b69816b..70888aa 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -90,8 +90,8 @@
         run: |
           python -m pip install --upgrade pip
           pip --version
-          if [ -f dev-requirements.txt ]; then pip install -r 
dev-requirements.txt; fi
-          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+          pip install -r dev-requirements.txt
+          pip install -r requirements.txt
           pip install wikitextparser
       - name: Install DjVuLibre
         if: runner.os == 'Linux'
diff --git a/.github/workflows/sysop_write_tests-ci.yml 
b/.github/workflows/sysop_write_tests-ci.yml
index 056c4b2..609027e 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -39,8 +39,8 @@
         run: |
           python -m pip install --upgrade pip
           pip --version
-          if [ -f dev-requirements.txt ]; then pip install -r 
dev-requirements.txt; fi
-          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+          pip install -r dev-requirements.txt
+          pip install -r requirements.txt
       - name: Generate user files
         run: |
           python -Werror::UserWarning -m pwb generate_user_files 
-site:${{matrix.site}} -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug;

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1287993?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: I8542efe1e79f81823c426e8c11c9575f6ee39c13
Gerrit-Change-Number: 1287993
Gerrit-PatchSet: 1
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]

Reply via email to