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

Change subject: tests: update pre-commit action test matrix
......................................................................

tests: update pre-commit action test matrix

Change-Id: Iaf43acf2330251864ba8df7710da9be5bdee717c
---
M .github/workflows/pre-commit.yml
1 file changed, 10 insertions(+), 2 deletions(-)

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




diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 2c8e948..37122c6 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -26,17 +26,25 @@
     strategy:
       fail-fast: false
       matrix:
-        python-version: ['3.11', '3.13', '3.14', '3.15']
+        python-version: ['3.11', '3.15']
         os: [windows-latest, macOS-latest]
         include:
-          - python-version: '3.13'
           - python-version: '3.15'
+            os: ubuntu-latest
+          - python-version: '3.16-dev'
+            os: ubuntu-latest
     steps:
       - name: set up python ${{ matrix.python-version }}
         uses: actions/setup-python@v7
+        if: matrix.python-version != '3.16-dev'
         with:
           python-version: ${{ matrix.python-version }}
           allow-prereleases: ${{ endsWith(matrix.python-version, '-dev') }}
+      - name: Set up Python ${{ matrix.python-version }}
+        uses: deadsnakes/[email protected]
+        if: matrix.python-version == '3.16-dev'
+        with:
+          python-version: ${{ matrix.python-version }}
       - name: checkout
         uses: actions/checkout@v7
         with:

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