Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Python 3.8 is the last non-EOL version. Also adapt tox.ini
python-version: ['3.8', 'pypy3.10', '3.12']
os: [ubuntu-latest, windows-latest]
# Python 3.9 is the last non-EOL version. Also adapt tox.ini
python-version: ['3.9', 'pypy3.11', '3.12']
# macOS in Intel, macOS on ARM, Ubuntu on x64, Ubuntu on ARM, Windows on X64
os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-2025]
fail-fast: false

steps:
Expand All @@ -27,13 +28,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: '**/test-requirements'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
python -m pip install --editable .[dev]
python -m pip install 'tox-gh-actions<4.0.0'
- name: Test with tox
run: tox
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tox]
envlist = py38, py39, py3.10, py311, py312, pypy3
envlist = py39, py3.10, py311, py312, py313, pypy3
skip_missing_interpreters = true

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy3.10: pypy3
3.13: py313
pypy3.11: pypy3

[testenv]
extras = dev

commands =
{envpython} -m pytest {posargs:}
{envpython} -m pylint cpplint.py
{envpython} -m flake8 cpplint.py
{envpython} -m pylint .
{envpython} -m flake8 .
Loading