Skip to content

Commit

Permalink
ci: Add python 3.10 and 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak authored and Stranger6667 committed Feb 16, 2023
1 parent d901270 commit c0de65e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 11 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,34 @@ jobs:

tests:
name: tests_${{ matrix.tox_job }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.os_version }}
strategy:
matrix:
tox_job: [py35, py36, py37, py38, py39, no_pycurl]
include:
- tox_job: py35
python: 3.5
python: "3.5"
os_version: "ubuntu-20.04"
- tox_job: py36
python: 3.6
python: "3.6"
os_version: "ubuntu-20.04"
- tox_job: py37
python: 3.7
python: "3.7"
os_version: "ubuntu-latest"
- tox_job: py38
python: 3.8
python: "3.8"
os_version: "ubuntu-latest"
- tox_job: py39
python: 3.9
python: "3.9"
os_version: "ubuntu-latest"
- tox_job: no_pycurl
python: 3.8
python: "3.8"
os_version: "ubuntu-latest"
- tox_job: py310
python: "3.10"
os_version: "ubuntu-latest"
- tox_job: py311
python: "3.11"
os_version: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Python support

Pytest-recording supports:

- CPython 3.5, 3.6, 3.7, 3.8 and 3.9.
- CPython 3.5, 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11
- PyPy 7 (3.6)

License
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changelog
`Unreleased`_
-------------

- Add support for Python 3.10 and 3.11. `#99`_

`0.12.1`_ - 2022-06-20
----------------------

Expand Down Expand Up @@ -200,6 +202,7 @@ Added
.. _0.3.0: https://github.com/kiwicom/pytest-recording/compare/v0.2.0...v0.3.0
.. _0.2.0: https://github.com/kiwicom/pytest-recording/compare/v0.1.0...v0.2.0

.. _#99: https://github.com/kiwicom/pytest-recording/pull/99
.. _#82: https://github.com/kiwicom/pytest-recording/pull/82
.. _#69: https://github.com/kiwicom/pytest-recording/issues/69
.. _#68: https://github.com/kiwicom/pytest-recording/issues/68
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def read(fname):
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pylint,py{35,36,37,38,39,py3},no_pycurl,coverage-report
envlist = pylint,py{35,36,37,38,39,310,311,py3},no_pycurl,coverage-report

[testenv]
setenv =
Expand Down Expand Up @@ -43,7 +43,7 @@ description = Report coverage over all measured test runs.
basepython = python3.8
deps = coverage
skip_install = true
depends = {py35,py36,py37,py38,py39,pypy3}
depends = {py35,py36,py37,py38,py39,py310,py311,pypy3}
commands =
coverage combine
coverage report
Expand Down

0 comments on commit c0de65e

Please sign in to comment.