From fc3f28a18341d10d8d013e47fbb258082e4bcc4d Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 19 Jan 2025 13:06:25 +0100 Subject: [PATCH 1/3] Update actionlint to 1.7.7 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc411c6da49b..59bd490987d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: check-github-actions - id: check-readthedocs - repo: https://github.com/rhysd/actionlint - rev: v1.7.6 + rev: v1.7.7 hooks: - id: actionlint args: [ From 327e71ca1a28c85c8dc2a8426da29745bff71d4c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:29:26 +0100 Subject: [PATCH 2/3] Remove setup-python architecture --- .github/workflows/test.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a57d08fa4da8..bec58bb087cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,40 +33,34 @@ jobs: # the oldest and newest supported Python versions - name: Test suite with py39-ubuntu, mypyc-compiled python: '3.9' - arch: x64 os: ubuntu-latest toxenv: py tox_extra_args: "-n 4" test_mypyc: true - name: Test suite with py39-windows-64 python: '3.9' - arch: x64 os: windows-latest toxenv: py39 tox_extra_args: "-n 4" - name: Test suite with py310-ubuntu python: '3.10' - arch: x64 os: ubuntu-latest toxenv: py tox_extra_args: "-n 4" - name: Test suite with py311-ubuntu, mypyc-compiled python: '3.11' - arch: x64 os: ubuntu-latest toxenv: py tox_extra_args: "-n 4" test_mypyc: true - name: Test suite with py312-ubuntu, mypyc-compiled python: '3.12' - arch: x64 os: ubuntu-latest toxenv: py tox_extra_args: "-n 4" test_mypyc: true - name: Test suite with py313-ubuntu, mypyc-compiled python: '3.13' - arch: x64 os: ubuntu-latest toxenv: py tox_extra_args: "-n 4" @@ -74,7 +68,6 @@ jobs: # - name: Test suite with py314-dev-ubuntu # python: '3.14-dev' - # arch: x64 # os: ubuntu-latest # toxenv: py # tox_extra_args: "-n 4" @@ -83,7 +76,6 @@ jobs: - name: mypyc runtime tests with py39-macos python: '3.9.21' - arch: x64 # TODO: macos-13 is the last one to support Python 3.9, change it to macos-latest when updating the Python version os: macos-13 toxenv: py @@ -93,7 +85,6 @@ jobs: # - https://github.com/python/mypy/pull/17822 # - name: mypyc runtime tests with py38-debug-build-ubuntu # python: '3.9.21' - # arch: x64 # os: ubuntu-latest # toxenv: py # tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py" @@ -101,12 +92,10 @@ jobs: - name: Type check our own code (py39-ubuntu) python: '3.9' - arch: x64 os: ubuntu-latest toxenv: type - name: Type check our own code (py39-windows-64) python: '3.9' - arch: x64 os: windows-latest toxenv: type @@ -115,7 +104,6 @@ jobs: # to ensure the tox env works as expected - name: Formatting and code style with Black + ruff python: '3.10' - arch: x64 os: ubuntu-latest toxenv: lint @@ -169,7 +157,6 @@ jobs: if: ${{ !(matrix.debug_build || endsWith(matrix.python, '-dev')) }} with: python-version: ${{ matrix.python }} - architecture: ${{ matrix.arch }} - name: Install tox run: | From 2bd50ec45843c9a687924bdb86b5bcbc8fe74043 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:34:35 +0100 Subject: [PATCH 3/3] Use ARM runners for tests --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bec58bb087cb..c42550431bb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: # the oldest and newest supported Python versions - name: Test suite with py39-ubuntu, mypyc-compiled python: '3.9' - os: ubuntu-latest + os: ubuntu-24.04-arm toxenv: py tox_extra_args: "-n 4" test_mypyc: true @@ -44,31 +44,31 @@ jobs: tox_extra_args: "-n 4" - name: Test suite with py310-ubuntu python: '3.10' - os: ubuntu-latest + os: ubuntu-24.04-arm toxenv: py tox_extra_args: "-n 4" - name: Test suite with py311-ubuntu, mypyc-compiled python: '3.11' - os: ubuntu-latest + os: ubuntu-24.04-arm toxenv: py tox_extra_args: "-n 4" test_mypyc: true - name: Test suite with py312-ubuntu, mypyc-compiled python: '3.12' - os: ubuntu-latest + os: ubuntu-24.04-arm toxenv: py tox_extra_args: "-n 4" test_mypyc: true - name: Test suite with py313-ubuntu, mypyc-compiled python: '3.13' - os: ubuntu-latest + os: ubuntu-24.04-arm toxenv: py tox_extra_args: "-n 4" test_mypyc: true # - name: Test suite with py314-dev-ubuntu # python: '3.14-dev' - # os: ubuntu-latest + # os: ubuntu-24.04-arm # toxenv: py # tox_extra_args: "-n 4" # allow_failure: true