strategy:
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
- "ubuntu-20.04"
python-version:
# the versions are <python tag>-<abi tag> as specified in PEP 425.
extra-requires: "mock"
exclude:
- # ubuntu-latest does not have: py27, py36
- - os: "ubuntu-latest"
+ # ubuntu-22.04 does not have: py27, py36
+ - os: "ubuntu-22.04"
python-version: cp27-cp27m
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
python-version: cp27-cp27mu
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
python-version: cp36-cp36m
- # ubuntu-20.04 does not need to test what ubuntu-latest supports
+ # ubuntu-20.04 does not need to test what ubuntu-22.04 supports
- os: "ubuntu-20.04"
python-version: cp37-cp37m
- os: "ubuntu-20.04"
strategy:
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
- "ubuntu-20.04"
python-version:
# the versions are <python tag>-<abi tag> as specified in PEP 425.
- cp311-cp311
- cp312-cp312
exclude:
- # ubuntu-latest does not have: py27, py36
- - os: "ubuntu-latest"
+ # ubuntu-22.04 does not have: py27, py36
+ - os: "ubuntu-22.04"
python-version: cp36-cp36m
- # ubuntu-20.04 does not need to test what ubuntu-latest supports
+ # ubuntu-20.04 does not need to test what ubuntu-22.04 supports
- os: "ubuntu-20.04"
python-version: cp37-cp37m
- os: "ubuntu-20.04"
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.11"
build-type:
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.11"
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.11"
# Arm emulation is quite slow (~20min) so for now just run it when merging to main
# run-test-arm64:
- # name: ${{ matrix.python-version }}-${{ matrix.build-type }}-arm64-ubuntu-latest
- # runs-on: ubuntu-latest
+ # name: ${{ matrix.python-version }}-${{ matrix.build-type }}-arm64-ubuntu-22.04
+ # runs-on: ubuntu-22.04
# strategy:
# matrix:
# python-version:
matrix:
os:
- "ubuntu-20.04"
- - "ubuntu-latest"
+ - "ubuntu-22.04"
- "windows-latest"
- "macos-13"
python-version:
# - python-version: "pypy-3.9"
# pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
# add aiosqlite on linux
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
exclude:
# linux and osx do not have x86 python
- - os: "ubuntu-latest"
+ - os: "ubuntu-22.04"
architecture: x86
- os: "ubuntu-20.04"
architecture: x86
- os: "macos-13"
architecture: x86
- # ubuntu-latest does not have: py27, py36
- - os: "ubuntu-latest"
+ # ubuntu-22.04 does not have: py27, py36
+ - os: "ubuntu-22.04"
python-version: "3.6"
- # ubuntu-20.04 does not need to test what ubuntu-latest supports
+ # ubuntu-20.04 does not need to test what ubuntu-22.04 supports
- os: "ubuntu-20.04"
python-version: "3.7"
- os: "ubuntu-20.04"
strategy:
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- cp27-cp27m
- cp27-cp27mu
strategy:
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- cp36-cp36m
- cp37-cp37m
- "cext"
- "nocext"
exclude:
- # ubuntu-latest does not have: py27, py36
- - os: "ubuntu-latest"
+ # ubuntu-22.04 does not have: py27, py36
+ - os: "ubuntu-22.04"
python-version: cp36-cp36m
- # ubuntu-20.04 does not need to test what ubuntu-latest supports
+ # ubuntu-20.04 does not need to test what ubuntu-22.04 supports
- os: "ubuntu-20.04"
python-version: cp37-cp37m
- os: "ubuntu-20.04"
# run this job using this matrix, excluding some combinations below.
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.7"
- "3.8"
- "3.11"
- "3.12"
include:
- # ubuntu-latest does not have: py27, py36
+ # ubuntu-22.04 does not have: py27, py36
- os: "ubuntu-20.04"
python-version: "3.6"
fail-fast: false
strategy:
matrix:
os:
- - "ubuntu-latest"
+ - "ubuntu-22.04"
python-version:
- "3.11"