Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/802913 )

Change subject: [tests] Set actions timeout-minutes
......................................................................

[tests] Set actions timeout-minutes

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

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



diff --git a/.github/workflows/login_tests-ci.yml 
b/.github/workflows/login_tests-ci.yml
index 6d06e49..c6a97f2 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -20,6 +20,7 @@
   build:
     runs-on: ${{ matrix.os || 'ubuntu-latest' }}
     continue-on-error: ${{ matrix.experimental || false }}
+    timeout-minutes: 2

     strategy:
       fail-fast: false
@@ -109,6 +110,7 @@
         echo "('${{ env.PYWIKIBOT_USERNAME }}', '${{ secrets.PYWIKIBOT_USERPWD 
}}')" > passwordfile

     - name: Test with unittest
+      timeout-minutes: 1
       env:
         PYWIKIBOT_TEST_NO_RC:
           ${{ (matrix.site == 'wikisource:zh' || matrix.test_no_rc) && 1 || 0 
}}
diff --git a/.github/workflows/pywikibot-ci.yml 
b/.github/workflows/pywikibot-ci.yml
index f7832bb..21be465 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -18,6 +18,7 @@
   build:
     runs-on: ${{ matrix.os || 'ubuntu-latest' }}
     continue-on-error: ${{ matrix.experimental || false }}
+    timeout-minutes: 120

     strategy:
       fail-fast: false
@@ -114,6 +115,7 @@
     - name: Test with unittest or pytest
       id: ci_test
       continue-on-error: true
+      timeout-minutes: 90
       env:
         PYWIKIBOT_TEST_NO_RC:
           ${{ (matrix.site == 'wikisource:zh' || matrix.test_no_rc) && 1 || 0 
}}

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/802913
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I54f7fdc1c22ca2d323fda2719d4872ef5fcb56a8
Gerrit-Change-Number: 802913
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to