Xqt submitted this change.
[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(-)
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/action@v3.1.0
- if: ${{ matrix.python-version == '3.13-dev' }}
+ if: "endsWith(matrix.python-version, '-dev')"
with:
python-version: ${{ matrix.python-version }}
To view, visit change 1031186. To unsubscribe, or for help writing mail filters, visit settings.