Skip to content

Xfail these till I can figure it out. #38

Xfail these till I can figure it out.

Xfail these till I can figure it out. #38

name: build
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: 'check'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'check'
os: 'ubuntu-latest'
- name: 'docs'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'docs'
os: 'ubuntu-latest'
- name: 'py38-cover (ubuntu/x86_64)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py38-cover (windows/AMD64)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py38-cover (macos/x86_64)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'py38-nocov (ubuntu/x86_64/manylinux)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp38-*manylinux*'
os: 'ubuntu-latest'
- name: 'py38-nocov (ubuntu/x86_64/musllinux)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp38-*musllinux*'
os: 'ubuntu-latest'
- name: 'py38-nocov (ubuntu/aarch64/manylinux)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp38-*manylinux*'
os: 'ubuntu-latest'
- name: 'py38-nocov (ubuntu/aarch64/musllinux)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp38-*musllinux*'
os: 'ubuntu-latest'
- name: 'py38-nocov (windows/AMD64)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp38-*'
os: 'windows-latest'
- name: 'py38-nocov (windows/x86)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x86'
tox_env: 'py38-nocov'
cibw_arch: 'x86'
cibw_build: 'cp38-*'
os: 'windows-latest'
- name: 'py38-nocov (macos/x86_64)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp38-*'
os: 'macos-latest'
- name: 'py39-cover (ubuntu/x86_64)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py39-cover (windows/AMD64)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py39-cover (macos/x86_64)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'py39-nocov (ubuntu/x86_64/manylinux)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp39-*manylinux*'
os: 'ubuntu-latest'
- name: 'py39-nocov (ubuntu/x86_64/musllinux)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp39-*musllinux*'
os: 'ubuntu-latest'
- name: 'py39-nocov (ubuntu/aarch64/manylinux)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp39-*manylinux*'
os: 'ubuntu-latest'
- name: 'py39-nocov (ubuntu/aarch64/musllinux)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp39-*musllinux*'
os: 'ubuntu-latest'
- name: 'py39-nocov (windows/AMD64)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp39-*'
os: 'windows-latest'
- name: 'py39-nocov (windows/x86)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x86'
tox_env: 'py39-nocov'
cibw_arch: 'x86'
cibw_build: 'cp39-*'
os: 'windows-latest'
- name: 'py39-nocov (macos/x86_64)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp39-*'
os: 'macos-latest'
- name: 'py310-cover (ubuntu/x86_64)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py310-cover (windows/AMD64)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py310-cover (macos/x86_64)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'py310-nocov (ubuntu/x86_64/manylinux)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp310-*manylinux*'
os: 'ubuntu-latest'
- name: 'py310-nocov (ubuntu/x86_64/musllinux)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp310-*musllinux*'
os: 'ubuntu-latest'
- name: 'py310-nocov (ubuntu/aarch64/manylinux)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp310-*manylinux*'
os: 'ubuntu-latest'
- name: 'py310-nocov (ubuntu/aarch64/musllinux)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp310-*musllinux*'
os: 'ubuntu-latest'
- name: 'py310-nocov (windows/AMD64)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp310-*'
os: 'windows-latest'
- name: 'py310-nocov (windows/x86)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x86'
tox_env: 'py310-nocov'
cibw_arch: 'x86'
cibw_build: 'cp310-*'
os: 'windows-latest'
- name: 'py310-nocov (macos/x86_64)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp310-*'
os: 'macos-latest'
- name: 'py311-cover (ubuntu/x86_64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py311-cover (windows/AMD64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py311-cover (macos/x86_64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'py311-nocov (ubuntu/x86_64/manylinux)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp311-*manylinux*'
os: 'ubuntu-latest'
- name: 'py311-nocov (ubuntu/x86_64/musllinux)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp311-*musllinux*'
os: 'ubuntu-latest'
- name: 'py311-nocov (ubuntu/aarch64/manylinux)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp311-*manylinux*'
os: 'ubuntu-latest'
- name: 'py311-nocov (ubuntu/aarch64/musllinux)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp311-*musllinux*'
os: 'ubuntu-latest'
- name: 'py311-nocov (windows/AMD64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp311-*'
os: 'windows-latest'
- name: 'py311-nocov (windows/x86)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x86'
tox_env: 'py311-nocov'
cibw_arch: 'x86'
cibw_build: 'cp311-*'
os: 'windows-latest'
- name: 'py311-nocov (macos/x86_64)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp311-*'
os: 'macos-latest'
- name: 'py312-cover (ubuntu/x86_64)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py312-cover (windows/AMD64)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py312-cover (macos/x86_64)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'py312-nocov (ubuntu/x86_64/manylinux)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp312-*manylinux*'
os: 'ubuntu-latest'
- name: 'py312-nocov (ubuntu/x86_64/musllinux)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp312-*musllinux*'
os: 'ubuntu-latest'
- name: 'py312-nocov (ubuntu/aarch64/manylinux)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp312-*manylinux*'
os: 'ubuntu-latest'
- name: 'py312-nocov (ubuntu/aarch64/musllinux)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp312-*musllinux*'
os: 'ubuntu-latest'
- name: 'py312-nocov (windows/AMD64)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp312-*'
os: 'windows-latest'
- name: 'py312-nocov (windows/x86)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x86'
tox_env: 'py312-nocov'
cibw_arch: 'x86'
cibw_build: 'cp312-*'
os: 'windows-latest'
- name: 'py312-nocov (macos/x86_64)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp312-*'
os: 'macos-latest'
- name: 'pypy38-cover (ubuntu/x86_64)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy38-cover (windows/AMD64)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy38-cover (macos/x86_64)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'pypy38-nocov (ubuntu/x86_64/manylinux)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy38-nocov (windows/AMD64)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-nocov'
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy38-nocov (macos/x86_64)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'pypy39-cover (ubuntu/x86_64)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy39-cover (windows/AMD64)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy39-cover (macos/x86_64)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'pypy39-nocov (ubuntu/x86_64/manylinux)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy39-nocov (windows/AMD64)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-nocov'
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy39-nocov (macos/x86_64)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'pypy310-cover (ubuntu/x86_64)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy310-cover (windows/AMD64)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy310-cover (macos/x86_64)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
- name: 'pypy310-nocov (ubuntu/x86_64/manylinux)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'pypy310-nocov (windows/AMD64)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-nocov'
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'pypy310-nocov (macos/x86_64)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310-nocov'
cibw_arch: 'x86_64'
cibw_build: false
os: 'macos-latest'
steps:
- uses: docker/setup-qemu-action@v3
if: matrix.cibw_arch == 'aarch64'
with:
platforms: arm64
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.python_arch }}
- name: install dependencies
run: |
python -mpip install --progress-bar=off cibuildwheel -r ci/requirements.txt
virtualenv --version
pip --version
tox --version
pip list --format=freeze
- name: install dependencies (gdb)
if: >
!matrix.cibw_build && matrix.os == 'ubuntu'
run: >
sudo apt-get install gdb
- name: cibw build and test
if: matrix.cibw_build
run: cibuildwheel
env:
TOXPYTHON: '${{ matrix.toxpython }}'
CIBW_ARCHS: '${{ matrix.cibw_arch }}'
CIBW_BUILD: '${{ matrix.cibw_build }}'
CIBW_BUILD_VERBOSITY: '3'
CIBW_TEST_REQUIRES: >
tox
tox-direct
CIBW_TEST_COMMAND: >
cd {project} &&
tox --skip-pkg-install --direct-yolo -e ${{ matrix.tox_env }} -v
CIBW_TEST_COMMAND_WINDOWS: >
cd /d {project} &&
tox --skip-pkg-install --direct-yolo -e ${{ matrix.tox_env }} -v
- name: regular build and test
env:
TOXPYTHON: '${{ matrix.toxpython }}'
if: >
!matrix.cibw_build
run: >
tox -e ${{ matrix.tox_env }} -v
- uses: coverallsapp/github-action@v2
if: matrix.cover
continue-on-error: true
with:
parallel: true
flag-name: ${{ matrix.tox_env }}
- uses: codecov/codecov-action@v3
if: matrix.cover
with:
verbose: true
flags: ${{ matrix.tox_env }}
- name: check wheel
if: matrix.cibw_build
run: twine check wheelhouse/*.whl
- name: upload wheel
uses: actions/upload-artifact@v3
if: matrix.cibw_build
with:
path: wheelhouse/*.whl
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@v2
with:
parallel-finished: true