From a610fc99793dfc192d8294bdcb1faea85be1da91 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 28 Jan 2025 13:13:00 +0100 Subject: [PATCH] Speedup --- .github/workflows/test.yml | 47 +++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8cec9bb4626bd..967926c5f04a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,9 @@ on: permissions: contents: read -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} +# cancel-in-progress: true jobs: main: @@ -65,6 +65,11 @@ jobs: # toxenv: py # tox_extra_args: "-n 4" # test_mypyc: true + - name: Test suite with py313-ubuntu, mypyc-compiled + python: '3.13' + os: windows-latest + toxenv: py + tox_extra_args: "-n 4 mypyc/test/test_run.py" - name: Test suite with py313-ubuntu, mypyc-compiled python: '3.13' os: windows-latest @@ -80,12 +85,12 @@ jobs: # allow_failure: true # test_mypyc: true - - name: mypyc runtime tests with py39-macos - python: '3.9.21' - # 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 - tox_extra_args: "-n 3 mypyc/test/test_run.py mypyc/test/test_external.py" + # - name: mypyc runtime tests with py39-macos + # python: '3.9.21' + # # 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 + # tox_extra_args: "-n 3 mypyc/test/test_run.py mypyc/test/test_external.py" # This is broken. See # - https://github.com/python/mypy/issues/17819 # - https://github.com/python/mypy/pull/17822 @@ -96,22 +101,22 @@ jobs: # tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py" # debug_build: true - - name: Type check our own code (py39-ubuntu) - python: '3.9' - os: ubuntu-latest - toxenv: type - - name: Type check our own code (py39-windows-64) - python: '3.9' - os: windows-latest - toxenv: type + # - name: Type check our own code (py39-ubuntu) + # python: '3.9' + # os: ubuntu-latest + # toxenv: type + # - name: Type check our own code (py39-windows-64) + # python: '3.9' + # os: windows-latest + # toxenv: type # We also run these checks with pre-commit in CI, # but it's useful to run them with tox too, # to ensure the tox env works as expected - - name: Formatting and code style with Black + ruff - python: '3.10' - os: ubuntu-latest - toxenv: lint + # - name: Formatting and code style with Black + ruff + # python: '3.10' + # os: ubuntu-latest + # toxenv: lint name: ${{ matrix.name }} timeout-minutes: 60