Skip to content
Merged
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
21 changes: 14 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,32 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["pypy-3.7", "pypy-3.8", "pypy-3.9", "3.7", "3.8", "3.9", "3.10", "3.11"]
pytest-tox-version: ["pytest5", "pytest6"]
python-version: ["pypy-3.8", "pypy-3.9", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
pytest-tox-version: ["pytest6", "pytest7", "pytest8", "pytest9"]
include:
# Add new variables to existing jobs
- {python-version: "pypy-3.7", python-tox-version: "pypy37"}
- {python-version: "pypy-3.8", python-tox-version: "pypy38"}
- {python-version: "pypy-3.9", python-tox-version: "pypy39"}
- {python-version: "3.7", python-tox-version: "py37"}
- {python-version: "3.8", python-tox-version: "py38"}
- {python-version: "3.9", python-tox-version: "py39"}
- {python-version: "3.10", python-tox-version: "py310"}
- {python-version: "3.11", python-tox-version: "py311"}
- {python-version: "3.12", python-tox-version: "py312"}
- {python-version: "3.13", python-tox-version: "py313"}
- {python-version: "3.14", python-tox-version: "py314"}
exclude:
# Remove jobs with incompatible combinations
- {python-version: "3.10", pytest-tox-version: "pytest5"}
- {python-version: "3.11", pytest-tox-version: "pytest5"}
- {python-version: "3.13", pytest-tox-version: "pytest6"}
- {python-version: "3.14", pytest-tox-version: "pytest6"}
- {python-version: "3.13", pytest-tox-version: "pytest7"}
- {python-version: "3.14", pytest-tox-version: "pytest7"}
- {python-version: "3.8", pytest-tox-version: "pytest9"}
- {python-version: "3.9", pytest-tox-version: "pytest9"}
- {python-version: "pypy-3.8", pytest-tox-version: "pytest9"}
- {python-version: "pypy-3.9", pytest-tox-version: "pytest9"}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.3.0
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['pytest>=5'],
python_requires='>=3.7',
install_requires=['pytest>=6'],
python_requires='>=3.8',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -28,11 +28,13 @@
'Topic :: Utilities',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: PyPy',
]
)
10 changes: 7 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[tox]
envlist =
py{37,38,39,310,311,py37,py38,py39}-pytest{5,6}
py{38,39,310,311,py37,py38,py39}-pytest{6,7,8,9}

[testenv]
deps =
pexpect
pytest5: pytest>5.0,<6.0
pytest5: pytest-xdist
pytest6: pytest>6.0,<7.0
pytest6: pytest-xdist
pytest7: pytest>7.0,<8.0
pytest7: pytest-xdist
pytest8: pytest>8.0,<9.0
pytest8: pytest-xdist
pytest9: pytest>9.0,<10.0
pytest9: pytest-xdist
commands = pytest {posargs}