Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031186?usp=email )
Change subject: [tests] include Python 3.14 to doctests, exclude 3.7 from
macOS-latest
......................................................................
[tests] include Python 3.14 to doctests, exclude 3.7 from macOS-latest
Bug: T364692
Bug: T364812
Change-Id: If4e1ee42a6d052840ca77fffaa7974ef1dcba0ff
---
M .github/workflows/doctest.yml
1 file changed, 9 insertions(+), 6 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index 6868d6b..04c3d9a 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -24,10 +24,13 @@
max-parallel: 7
matrix:
- os: [ "windows-latest", "macOS-latest", "ubuntu-latest" ]
- python-version: ["pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10",
"3.11", "3.12"]
+ os: [windows-latest, macOS-latest, ubuntu-latest]
+ python-version: [pypy3.7, pypy3.10, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12.
3.13]
include:
- - python-version: "3.13-dev"
+ - python-version: 3.14-dev
+ exclude:
+ - os: macOS-latest
+ python-version: [pypy3.7, 3.7]
steps:
- name: Checkout Repository
@@ -37,14 +40,14 @@
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- if: ${{ matrix.python-version != '3.13-dev' }}
+ if: "!endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
- # use deadsnakes/action until actions/setup-python supports Python 3.13
+ # use deadsnakes/action for development releases
- name: Set up development Python ${{ matrix.python-version }}
uses: deadsnakes/[email protected]
- if: ${{ matrix.python-version == '3.13-dev' }}
+ if: "endsWith(matrix.python-version, '-dev')"
with:
python-version: ${{ matrix.python-version }}
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031186?usp=email
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: If4e1ee42a6d052840ca77fffaa7974ef1dcba0ff
Gerrit-Change-Number: 1031186
Gerrit-PatchSet: 2
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]