Move to pyproject.toml. #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Proper manylinux builds would require building in a manylinux image, then | |
# unpacking, moving out purelib, and repacking (using a recent version of wheel), | |
# then returning to the image to retag. | |
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- {os: ubuntu-latest, python-version: "3.7"} | |
- {os: ubuntu-latest, python-version: "3.11"} | |
- {os: macos-latest, python-version: "3.9"} | |
- {os: macos-latest, python-version: "3.11"} | |
- {os: windows-latest, python-version: "3.6"} | |
- {os: windows-latest, python-version: "3.11"} | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
shell: bash | |
run: | | |
python -mpip install --upgrade pip setuptools wheel && | |
python -mpip wheel --no-deps --wheel-dir dist . && | |
python -mpip install dist/* | |
- name: Test | |
run: | | |
python -mpip install coverage && | |
cd examples && | |
python __run_all_examples__.py --cov |