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
15 changes: 6 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,15 @@ jobs:
- name: Check out code
uses: actions/checkout@main

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@main
with:
python-version: "3.11"
python-version: "3.12"

- name: Setup flake8 annotations
uses: rbialon/[email protected]

- name: Lint with flake8
run: |
pip install flake8
flake8 setup.py dpath/ tests/
uses: TrueBrain/[email protected]
with:
path: setup.py dpath/ tests/

# Generate a common hashseed for all tests
generate-hashseed:
Expand Down Expand Up @@ -70,7 +67,7 @@ jobs:
strategy:
matrix:
# Match versions specified in tox.ini
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.7']
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.7', '3.12']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed',
],
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ignore = E501,E722

[tox]
envlist = pypy37, py38, py39, py310, py311
envlist = pypy37, py38, py39, py310, py311, py312

[gh-actions]
python =
Expand All @@ -16,10 +16,10 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
deps =
hypothesis
mock
nose2
commands = nose2 {posargs}