Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224066?usp=email )
Change subject: tests: Update action/checkout
......................................................................
tests: Update action/checkout
Also decrease timeout for GraalPy tests
Change-Id: I9232f54a3f97dc715522ae66011671070eb3cd93
---
M .github/workflows/doctest.yml
M .github/workflows/graalpy_tests.yml
M .github/workflows/login_tests-ci.yml
M .github/workflows/oauth_tests-ci.yml
M .github/workflows/pre-commit.yml
M .github/workflows/pywikibot-ci.yml
M .github/workflows/sysop_write_tests-ci.yml
M .github/workflows/windows_tests.yml
8 files changed, 16 insertions(+), 16 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index 95d1287..88300d6 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -27,7 +27,7 @@
- python-version: 3.15-dev
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/graalpy_tests.yml
b/.github/workflows/graalpy_tests.yml
index 27cb27c..146e63f 100644
--- a/.github/workflows/graalpy_tests.yml
+++ b/.github/workflows/graalpy_tests.yml
@@ -18,7 +18,7 @@
build:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
continue-on-error: ${{ matrix.experimental || false }}
- timeout-minutes: 300
+ timeout-minutes: 120
strategy:
fail-fast: false
matrix:
@@ -28,7 +28,7 @@
experimental: [True]
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
@@ -39,21 +39,21 @@
- name: Install dependencies
run: |
pip --version
- pip install "beautifulsoup4>=4.7.1"
- pip install "mwparserfromhell>=0.5.2"
+ pip install beautifulsoup4
+ pip install mwparserfromhell
pip install packaging
- pip install "requests>=2.31.0"
- pip install "wikitextparser>=0.56.4"
- pip install "pytest >= 9.0.1"
+ pip install requests
+ pip install wikitextparser
+ pip install pytest
pip install pytest-attrib
- pip install "coverage>=7.11.0"
+ pip install coverage
- name: Generate user files
run: |
python -Werror::UserWarning -m pwb generate_user_files
-site:${{matrix.site}} -v -debug;
- name: Test with unittest or pytest
id: ci_test
continue-on-error: true
- timeout-minutes: 290
+ timeout-minutes: 110
env:
PYTHONIOENCODING: utf-8
PYWIKIBOT_TEST_NO_RC: 1
diff --git a/.github/workflows/login_tests-ci.yml
b/.github/workflows/login_tests-ci.yml
index 25068f5..035c9a7 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -72,7 +72,7 @@
os: macOS-latest
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/oauth_tests-ci.yml
b/.github/workflows/oauth_tests-ci.yml
index 5b3a902..381ee95 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -39,7 +39,7 @@
experimental: true
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 3e6479d..80261a6 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -41,7 +41,7 @@
python-version: ${{ matrix.python-version }}
allow-prereleases: ${{ endsWith(matrix.python-version, '-dev') }}
- name: checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: run pre-commit
diff --git a/.github/workflows/pywikibot-ci.yml
b/.github/workflows/pywikibot-ci.yml
index 8e39852..a0ca8af 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -66,7 +66,7 @@
os: ubuntu-22.04
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/sysop_write_tests-ci.yml
b/.github/workflows/sysop_write_tests-ci.yml
index 2ae6b6f..fefc8db 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -27,7 +27,7 @@
attr: [write and not rights, write and rights, rights and not write]
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/windows_tests.yml
b/.github/workflows/windows_tests.yml
index cccc1ff..775a774 100644
--- a/.github/workflows/windows_tests.yml
+++ b/.github/workflows/windows_tests.yml
@@ -27,7 +27,7 @@
site: ['wikipedia:en']
steps:
- name: Checkout Repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224066?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: I9232f54a3f97dc715522ae66011671070eb3cd93
Gerrit-Change-Number: 1224066
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]