Skip to content

Commit

Permalink
ci: Set up testing on Python 3.11
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
  • Loading branch information
godlygeek committed Jul 27, 2022
1 parent 5651b9e commit 239b9f5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.9', '3.8']
python-version: ['3.11-dev', '3.10', '3.9', '3.8']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
cibw_python: [ "cp37-*", "cp38-*", "cp39-*", "cp310-*"]
cibw_python: [ "cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
cibw_manylinux: [ manylinux2010 ]
cibw_arch: [ "x86_64", "i686" ]

Expand All @@ -37,6 +37,7 @@ jobs:
CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_PRERELEASE_PYTHONS: True
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND: pytest {package}/tests

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ignore = [
exclude="tests/integration/(native_extension|multithreaded_extension)/"

[tool.cibuildwheel]
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*"]
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
skip = "*musllinux*"

[tool.cibuildwheel.linux]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py310-cov, py310, py39, py38
envlist = py310-cov, py311, py310, py39, py38
isolated_build = True

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310-cov, py310
3.11: py311

[testenv]
setenv = CYTHON_TEST_MACROS=1
Expand Down

0 comments on commit 239b9f5

Please sign in to comment.