From df70eba4dd364e07adf80f31ee05a0bfaac959c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 22 Jan 2025 16:56:28 -0600 Subject: [PATCH] chore: Update GitHub runners in matrix --- .github/renovate.json5 | 10 +++++++++ .github/workflows/tests.yml | 44 +++++++++++++++++++++++++++---------- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c0b035b5..1dc73a7c 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -41,6 +41,16 @@ "requirements/requirements-*.txt", ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["\\.github/workflows/tests\\.yml"], + "matchStrings": [ + "# renovate: datasource=(?.*?) depName=(?.*?)\\s+os: \"?(?\\S+?)\"?\\s+" + ] + } + ], + // https://docs.renovatebot.com/configuration-options/#packagerules "packageRules": [ { diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17aa906d..311db7cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,28 +58,48 @@ jobs: strategy: fail-fast: false matrix: - python-version: - - "3.9" - - "3.10" - - "3.11" - - "3.12" - - "3.13" - - "pypy3.10" - os: ["ubuntu-24.04"] include: + - python-version: "3.13" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + + - python-version: "3.12" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + + - python-version: "3.11" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + + - python-version: "3.10" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + + - python-version: "3.9" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + - python-version: "3.8" - os: "ubuntu-24.04" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 + + - python-version: "pypy3.10" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 - python-version: "3.14" - os: "ubuntu-24.04" + # renovate: datasource=github-runners depName=ubuntu + os: ubuntu-24.04 experimental: true nightly: true - python-version: "3.13" - os: "windows-latest" + # renovate: datasource=github-runners depName=windows + os: windows-2022 - python-version: "3.13" - os: "macos-latest" + # renovate: datasource=github-runners depName=macos + os: macos-15 steps: - name: Check out the repository