Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c4ffcd7

Browse files
hugovkchrisjsewell
andauthored
🧪 Add CI testing for Python 3.12 (#303)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent 98ef73d commit c4ffcd7

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

‎.github/workflows/benchmark.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- name: Set up Python 3.8
1515
uses: actions/setup-python@v4
@@ -30,7 +30,7 @@ jobs:
3030
run: tox -e py38-bench-packages -- --benchmark-min-rounds 20 --benchmark-json bench-packages.json
3131

3232
# - name: Upload package data
33-
# uses: actions/upload-artifact@v2
33+
# uses: actions/upload-artifact@v3
3434
# with:
3535
# name: bench-packages
3636
# path: bench-packages.json

‎.github/workflows/tests.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Set up Python 3.8
2424
uses: actions/setup-python@v4
2525
with:
@@ -31,14 +31,15 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python-version: ['pypy-3.8', '3.8', '3.9', '3.10', '3.11']
34+
python-version: ['pypy-3.8', '3.8', '3.9', '3.10', '3.11', '3.12']
3535

3636
steps:
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838
- name: Set up Python ${{ matrix.python-version }}
3939
uses: actions/setup-python@v4
4040
with:
4141
python-version: ${{ matrix.python-version }}
42+
allow-prereleases: true
4243
- name: Install dependencies
4344
run: |
4445
python -m pip install --upgrade pip
@@ -63,7 +64,7 @@ jobs:
6364
matrix:
6465
python-version: ['3.8']
6566
steps:
66-
- uses: actions/checkout@v3
67+
- uses: actions/checkout@v4
6768
- name: Set up Python ${{ matrix.python-version }}
6869
uses: actions/setup-python@v4
6970
with:
@@ -83,7 +84,7 @@ jobs:
8384

8485
runs-on: ubuntu-latest
8586
steps:
86-
- uses: actions/checkout@v3
87+
- uses: actions/checkout@v4
8788

8889
- name: Set up Python 3.8
8990
uses: actions/setup-python@v4
@@ -113,7 +114,7 @@ jobs:
113114
runs-on: ubuntu-latest
114115
steps:
115116
- name: Checkout source
116-
uses: actions/checkout@v3
117+
uses: actions/checkout@v4
117118
- name: Set up Python 3.8
118119
uses: actions/setup-python@v4
119120
with:

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers = [
1818
"Programming Language :: Python :: 3.9",
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
2122
"Programming Language :: Python :: Implementation :: CPython",
2223
"Programming Language :: Python :: Implementation :: PyPy",
2324
"Topic :: Software Development :: Libraries :: Python Modules",

‎tox.ini‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ envlist = py38
99
[testenv]
1010
usedevelop = true
1111

12-
[testenv:py{38,39,310,311}]
12+
[testenv:py{38,39,310,311,312}]
1313
extras =
1414
linkify
1515
testing
@@ -27,11 +27,11 @@ commands_pre =
2727
commands =
2828
pytest {posargs}
2929

30-
[testenv:py{38,39,310,311}-bench-core]
30+
[testenv:py{38,39,310,311,312}-bench-core]
3131
extras = benchmarking
3232
commands = pytest benchmarking/bench_core.py {posargs}
3333

34-
[testenv:py{38,39,310,311}-bench-packages]
34+
[testenv:py{38,39,310,311,312}-bench-packages]
3535
extras = benchmarking,compare
3636
commands = pytest benchmarking/bench_packages.py {posargs}
3737

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /