Build with RHEL 8 / c8s ABI #24
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
--- | |
name: Tests | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
- v*.x | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
linux-tests: | |
name: "Python ${{ matrix.python-version }} on Ubuntu" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13-dev" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: true | |
- uses: "actions/setup-python@v5" | |
with: | |
python-version: "${{ matrix.python-version }}" | |
allow-prereleases: true | |
- name: "Update pip" | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: "Install tox dependencies" | |
run: python -m pip install --upgrade tox tox-gh-actions | |
- name: "Run tox for ${{ matrix.python-version }}" | |
run: python -m tox | |
macos-tests: | |
name: "Default Python on macOS (M1)" | |
runs-on: "macos-14" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: true | |
- name: "Update pip" | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: "Install tox dependencies" | |
run: python -m pip install --upgrade tox | |
- name: "Run tox tests" | |
run: python -m tox -e py |