Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.12 to the testing #33

Closed
wants to merge 3 commits into from
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 @@ -12,8 +12,6 @@ jobs:
strategy:
matrix:
JOB:
- PYTHON: "3.7"
TOXENV: "py37"
- PYTHON: "3.8"
TOXENV: "py38"
- PYTHON: "3.9"
Expand All @@ -22,19 +20,21 @@ jobs:
TOXENV: "py310"
- PYTHON: "3.11"
TOXENV: "py311"
- PYTHON: "3.12"
TOXENV: "py312"
- PYTHON: "pypy-3.9"
TOXENV: "pypy3"
- PYTHON: "pypy-3.10"
TOXENV: "pypy3"

- PYTHON: "3.11"
- PYTHON: "3.12"
TOXENV: "pep8"
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@v4
timeout-minutes: 3
with:
persist-credentials: false
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.JOB.PYTHON }}
- run: pip install tox
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ method to put a mock in place. ``pretend`` doesn't include anything like this,
a) we believe it's better, where possible, to pass stubs as arguments rather
than monkey patch them into place, b) we believe that when you do need to
monkey patch something into place you should use something provided by your
testing tool. ``py.test`` includes `such a tool`_.
testing tool. ``pytest`` includes `such a tool`_.

.. _`such a tool`: https://docs.pytest.org/en/latest/monkeypatch.html

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist = pypy3,py37,py38,py39,py310,py311,pep8
envlist = pypy3,py38,py39,py310,py311,py312,pep8

[testenv]
deps = pytest
commands = py.test
commands = pytest

[testenv:pep8]
deps =
Expand Down