Skip to content

fix: Update CI configuration for PyPy compatibility #2

fix: Update CI configuration for PyPy compatibility

fix: Update CI configuration for PyPy compatibility #2

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
name: ${{ matrix.tox-env }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-latest, macos-latest]
tox-env:
- py38-cover
- py38-nocov
- py39-cover
- py39-nocov
- py310-cover
- py310-nocov
- py311-cover
- py311-nocov
- py312-cover
- py312-nocov
- pypy38-cover
- pypy38-nocov
- pypy39-cover
- pypy39-nocov
- pypy310-cover
- pypy310-nocov
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: |
pypy-3.8
pypy-3.9
pypy-3.10
3.8
3.9
3.10
3.11
3.12
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python -m pip install tox tox-gh-actions
- name: Test with tox
env:
TOXENV: ${{ matrix.tox-env }}
run: tox
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip install tox
- run: tox -e check
docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip install tox
- run: tox -e docs