env:
# global env to all steps
- TOX_WORKERS: -n2
+ TOX_WORKERS: -n4
permissions:
contents: read
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
- "windows-latest"
- "macos-latest"
- "macos-13"
# autocommit tests fail on the ci for some reason
- python-version: "pypy-3.10"
pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
exclude:
# linux do not have x86 / arm64 python
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
architecture: x86
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
architecture: arm64
# windows des not have arm64 python
- os: "windows-latest"
run-test-arm64:
# Hopefully something native can be used at some point https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/
name: test-arm64-${{ matrix.python-version }}-${{ matrix.build-type }}-${{ matrix.os }}
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.8"
- "3.9"
# run lint only on 3.12
- tox-env: lint
python-version: "3.12"
- os: "ubuntu-latest"
+ os: "ubuntu-22.04"
exclude:
# run pep484 only on 3.10+
- tox-env: pep484
[tool.cibuildwheel]
test-requires = "pytest pytest-xdist"
# remove user site, otherwise the local checkout has precedence, disabling cyextensions
-test-command = "python -s -m pytest -c {project}/pyproject.toml -n2 -q --nomemory --notimingintensive --nomypy {project}/test"
+test-command = "python -s -m pytest -c {project}/pyproject.toml -n4 -q --nomemory --notimingintensive --nomypy {project}/test"
build = "*"
# python 3.6 is no longer supported by sqlalchemy